]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ALSA: asihpi - Remove spurious adapter index check
authorEliot Blennerhassett <eblennerhassett@audioscience.com>
Fri, 22 Jul 2011 03:52:46 +0000 (15:52 +1200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 22 Jul 2011 05:50:44 +0000 (07:50 +0200)
commit1c073b6797969dfc808d077cf28f9e0205070edd
treea66ce1394433bb5b91a93fa1d08951b7d6f21297
parent0a17e993076f226aca3463a1c7fb9265e06ed2d3
ALSA: asihpi - Remove spurious adapter index check

Subsystem requests don't have or need a valid adapter index.
The adapter index is already checked further on, before it is used to index
the adapters array. (Reverts 4a122c10f)

Signed-off-by: Eliot Blennerhassett <eblennerhassett@audioscience.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/asihpi/hpioctl.c