mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
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 <[email protected]>
This commit is contained in:
parent
c4d1489390
commit
80d7d771ae
10 changed files with 12 additions and 25 deletions
|
|
@ -501,10 +501,8 @@ int snd_opl3_hwdep_new(struct snd_opl3 * opl3,
|
|||
hw->private_data = opl3;
|
||||
hw->exclusive = 1;
|
||||
#ifdef CONFIG_SND_OSSEMUL
|
||||
if (device == 0) {
|
||||
if (device == 0)
|
||||
hw->oss_type = SNDRV_OSS_DEVICE_TYPE_DMFM;
|
||||
sprintf(hw->oss_dev, "dmfm%i", card->number);
|
||||
}
|
||||
#endif
|
||||
strcpy(hw->name, hw->id);
|
||||
switch (opl3->hardware & OPL3_HW_MASK) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue