[media] stk1160: remove unneeded check
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 14 Aug 2012 06:03:35 +0000 (03:03 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 15 Aug 2012 21:53:29 +0000 (18:53 -0300)
commit0590c7130dfb88ddc7bbecd343efae1d3623f209
treea1758e2cceea8ef4d735dae0290f6f84a3a830ed
parentf367cc1efebdfacfca083e55fdeafa0163054995
[media] stk1160: remove unneeded check

"card" is a valid pointer here because we checked snd_card_create() for
error returns.  Checking after a dereference makes the static checkers
complain.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Ezequiel Garcia <elezegarcia@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/stk1160/stk1160-ac97.c