diff options
author | Leonard Goehrs <[email protected]> | 2020-11-27 16:22:59 +0100 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2020-11-28 09:49:19 +0100 |
commit | e4e1d47c7906cf108584c617c0b2ba32ed5428ed (patch) | |
tree | 66379fd264bdac1d7ec0f240a8c9ee981fd6d5aa /lib/mpi/mpi-mod.c | |
parent | 5c7797022fe9a95a4417c75fa59a1a2bfdc5a3be (diff) |
ALSA: ppc: remove redundant checks in PS3 driver probe
The check for the FW_FEATURE_PS3_LV1 firmware feature is already performed
in ps3_system_bus_init() before registering the driver. So if the probe
function is actually used, this feature is already known to be available.
The check for the match id is also superfluous; the condition is always
true because the bus' match function (ps3_system_bus_match()) only
considers this driver for devices having:
dev->match_id == snd_ps3_bus_driver_info.match_id.
Suggested-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Leonard Goehrs <[email protected]>
Reviewed-by: Uwe Kleine-König <[email protected]>
Tested-by: Geoff Levand <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions