summaryrefslogtreecommitdiffstats
path: root/lib/irq_regs.c
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-05-31 16:27:39 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-08-02 15:27:54 -0300
commit8b0d7048dc2f0d2e4344bc8aaf85b4f14196145f (patch)
tree47b9501f77469046268bc57345d41639b1489c83 /lib/irq_regs.c
parent128fe95d77d6c5239ce6af6c3edacafc79eb0a39 (diff)
V4L/DVB: remove unneeded null check in anysee_probe()
Smatch complained because "d" is dereferenced first and then checked for null later . The only code path where "d" could be a invalid pointer is if this is a cold device in dvb_usb_device_init(). I consulted Antti Palosaari and he explained that anysee is always a warm device. I have added a comment and removed the unneeded null check. Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'lib/irq_regs.c')
0 files changed, 0 insertions, 0 deletions