V4L/DVB: pvrusb2: remove unneeded NULL checks
authorDan Carpenter <error27@gmail.com>
Thu, 19 Aug 2010 09:50:04 +0000 (06:50 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 28 Sep 2010 01:21:48 +0000 (22:21 -0300)
commitd5337966ce4639c775ff5edf92d78f5fad34ef0d
tree6949067de4448c3337c8cfdec74c62147d4f4fa1
parenta8e07124500184f81541ddf3e9669000af9ac4bc
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>
drivers/media/video/pvrusb2/pvrusb2-ctrl.c