summaryrefslogtreecommitdiffstats
path: root/drivers/media/IR
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-08-19 11:50:04 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-09-28 03:21:48 +0200
commitd5337966ce4639c775ff5edf92d78f5fad34ef0d (patch)
tree6949067de4448c3337c8cfdec74c62147d4f4fa1 /drivers/media/IR
parentV4L/DVB: opera1: remove unneeded NULL check (diff)
downloadlinux-d5337966ce4639c775ff5edf92d78f5fad34ef0d.tar.xz
linux-d5337966ce4639c775ff5edf92d78f5fad34ef0d.zip
V4L/DVB: pvrusb2: remove unneeded NULL checks
We dereference "maskptr" unconditionally at the start of the function and also inside the call to parse_tlist() towards the end of the function. This function is called from store_val_any() and it always passes a non-NULL pointer. Signed-off-by: Dan Carpenter <error27@gmail.com> Acked-by: Mike Isely <isely@pobox.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/IR')
0 files changed, 0 insertions, 0 deletions