aboutsummaryrefslogtreecommitdiff
path: root/sound/isa/cs423x
diff options
context:
space:
mode:
authorGravatar Dan Carpenter <error27@gmail.com> 2009-11-18 10:31:57 +0200
committerGravatar Takashi Iwai <tiwai@suse.de> 2009-11-18 09:59:40 +0100
commitbec145ae6f6978f0319e5600a742f45f76ecc4dd (patch)
tree6ba70348a7fa3d6a49ec61df7b35f885451da1e3 /sound/isa/cs423x
parentALSA: opti-miro: Fix missing semicolon (diff)
downloadlinux-bec145ae6f6978f0319e5600a742f45f76ecc4dd.tar.gz
linux-bec145ae6f6978f0319e5600a742f45f76ecc4dd.tar.bz2
linux-bec145ae6f6978f0319e5600a742f45f76ecc4dd.zip
ALSA: remove unnecessary null check
This function is only called from snd_ctl_ioctl() and the file parameter can never be null so there is no need to check it here. We dereference file at the start of the function: struct snd_card *card = file->card; and it confuses static checkers to dereference a pointer before checking it. Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/isa/cs423x')
0 files changed, 0 insertions, 0 deletions