summaryrefslogtreecommitdiffstats
path: root/sound/core/hwdep.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2014-02-04 13:51:45 +0100
committerTakashi Iwai <tiwai@suse.de>2014-02-12 10:58:19 +0100
commit80d7d771ae839d6fc2286f443ad8445b6721a7f3 (patch)
treec0a77703b5cd7c4b535c879bae7e85ade181a615 /sound/core/hwdep.c
parentc4d1489390aa0be73104fc502a1e3107511c8926 (diff)
downloadblackbird-op-linux-80d7d771ae839d6fc2286f443ad8445b6721a7f3.tar.gz
blackbird-op-linux-80d7d771ae839d6fc2286f443ad8445b6721a7f3.zip
ALSA: Drop unused name argument in snd_register_oss_device()
The last argument, name, of snd_oss_register_device() is nowhere referred in the function in the current code. Let's drop it. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/hwdep.c')
-rw-r--r--sound/core/hwdep.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/core/hwdep.c b/sound/core/hwdep.c
index d105073298cb..0f73f6951110 100644
--- a/sound/core/hwdep.c
+++ b/sound/core/hwdep.c
@@ -442,8 +442,7 @@ static int snd_hwdep_dev_register(struct snd_device *device)
} else {
if (snd_register_oss_device(hwdep->oss_type,
hwdep->card, hwdep->device,
- &snd_hwdep_f_ops, hwdep,
- hwdep->oss_dev) < 0) {
+ &snd_hwdep_f_ops, hwdep) < 0) {
snd_printk(KERN_ERR "unable to register OSS compatibility device %i:%i\n",
hwdep->card->number, hwdep->device);
} else
OpenPOWER on IntegriCloud