staging: most: sound: remove overcautious argument checking
authorChristian Gromm <christian.gromm@microchip.com>
Tue, 23 Jun 2020 15:07:35 +0000 (17:07 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jun 2020 13:41:17 +0000 (15:41 +0200)
commit75d0bf8762640728316c3bbce1aba87b1cc3428f
tree19c1608aeb3845fd34ad7a807f79ee6c378b1761
parent749a14343ecbbe1c8c5d8000301553aa815cce7d
staging: most: sound: remove overcautious argument checking

The interface pointer passed to a component API function cannot be NULL.
This patch removes the unnecessary sanity check of this argument.

Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Link: https://lore.kernel.org/r/1592924855-25569-6-git-send-email-christian.gromm@microchip.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/sound/sound.c