diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2016-03-27 03:09:06 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2016-03-28 03:39:40 -0400 |
commit | 093dd449782737b50f8e1ee1608720dfd46d8ed2 (patch) | |
tree | e6edb2177092667e3c2fff6d3b64786f820b8716 /sound/firewire | |
parent | 7ff652ffc06afc7f81839fb1780c57470ac09db6 (diff) |
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 <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire')
-rw-r--r-- | sound/firewire/bebob/bebob.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/firewire/bebob/bebob.c b/sound/firewire/bebob/bebob.c index 3e4e0756e3fe..932901de255f 100644 --- a/sound/firewire/bebob/bebob.c +++ b/sound/firewire/bebob/bebob.c | |||
@@ -67,7 +67,7 @@ static DECLARE_BITMAP(devices_used, SNDRV_CARDS); | |||
67 | #define MODEL_MAUDIO_PROJECTMIX 0x00010091 | 67 | #define MODEL_MAUDIO_PROJECTMIX 0x00010091 |
68 | 68 | ||
69 | static int | 69 | static int |
70 | name_device(struct snd_bebob *bebob, unsigned int vendor_id) | 70 | name_device(struct snd_bebob *bebob) |
71 | { | 71 | { |
72 | struct fw_device *fw_dev = fw_parent_device(bebob->unit); | 72 | struct fw_device *fw_dev = fw_parent_device(bebob->unit); |
73 | char vendor[24] = {0}; | 73 | char vendor[24] = {0}; |
@@ -232,7 +232,7 @@ bebob_probe(struct fw_unit *unit, | |||
232 | spin_lock_init(&bebob->lock); | 232 | spin_lock_init(&bebob->lock); |
233 | init_waitqueue_head(&bebob->hwdep_wait); | 233 | init_waitqueue_head(&bebob->hwdep_wait); |
234 | 234 | ||
235 | err = name_device(bebob, entry->vendor_id); | 235 | err = name_device(bebob); |
236 | if (err < 0) | 236 | if (err < 0) |
237 | goto error; | 237 | goto error; |
238 | 238 | ||