diff options
| author | Takashi Iwai <tiwai@suse.de> | 2014-02-04 07:51:45 -0500 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2014-02-12 04:58:19 -0500 |
| commit | 80d7d771ae839d6fc2286f443ad8445b6721a7f3 (patch) | |
| tree | c0a77703b5cd7c4b535c879bae7e85ade181a615 /sound/drivers | |
| parent | c4d1489390aa0be73104fc502a1e3107511c8926 (diff) | |
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/drivers')
| -rw-r--r-- | sound/drivers/opl3/opl3_lib.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/drivers/opl3/opl3_lib.c b/sound/drivers/opl3/opl3_lib.c index 33d9a857a262..f66af5884c40 100644 --- a/sound/drivers/opl3/opl3_lib.c +++ b/sound/drivers/opl3/opl3_lib.c | |||
| @@ -501,10 +501,8 @@ int snd_opl3_hwdep_new(struct snd_opl3 * opl3, | |||
| 501 | hw->private_data = opl3; | 501 | hw->private_data = opl3; |
| 502 | hw->exclusive = 1; | 502 | hw->exclusive = 1; |
| 503 | #ifdef CONFIG_SND_OSSEMUL | 503 | #ifdef CONFIG_SND_OSSEMUL |
| 504 | if (device == 0) { | 504 | if (device == 0) |
| 505 | hw->oss_type = SNDRV_OSS_DEVICE_TYPE_DMFM; | 505 | hw->oss_type = SNDRV_OSS_DEVICE_TYPE_DMFM; |
| 506 | sprintf(hw->oss_dev, "dmfm%i", card->number); | ||
| 507 | } | ||
| 508 | #endif | 506 | #endif |
| 509 | strcpy(hw->name, hw->id); | 507 | strcpy(hw->name, hw->id); |
| 510 | switch (opl3->hardware & OPL3_HW_MASK) { | 508 | switch (opl3->hardware & OPL3_HW_MASK) { |
