Skip to content

Commit 093dd44

Browse files
takaswietiwai
authored andcommitted
ALSA: bebob: remove needless argument from local function
The 'vendor_id' argument is not used in the local function. Let's remove it. Signed-off-by: Takashi Sakamoto <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
1 parent 7ff652f commit 093dd44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sound/firewire/bebob/bebob.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ static DECLARE_BITMAP(devices_used, SNDRV_CARDS);
6767
#define MODEL_MAUDIO_PROJECTMIX 0x00010091
6868

6969
static int
70-
name_device(struct snd_bebob *bebob, unsigned int vendor_id)
70+
name_device(struct snd_bebob *bebob)
7171
{
7272
struct fw_device *fw_dev = fw_parent_device(bebob->unit);
7373
char vendor[24] = {0};
@@ -232,7 +232,7 @@ bebob_probe(struct fw_unit *unit,
232232
spin_lock_init(&bebob->lock);
233233
init_waitqueue_head(&bebob->hwdep_wait);
234234

235-
err = name_device(bebob, entry->vendor_id);
235+
err = name_device(bebob);
236236
if (err < 0)
237237
goto error;
238238

0 commit comments

Comments
 (0)