diff options
author | Dan Carpenter <error27@gmail.com> | 2010-08-19 05:50:04 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-09-27 21:21:48 -0400 |
commit | d5337966ce4639c775ff5edf92d78f5fad34ef0d (patch) | |
tree | 6949067de4448c3337c8cfdec74c62147d4f4fa1 /drivers/media/video/pvrusb2/pvrusb2-wm8775.c | |
parent | a8e07124500184f81541ddf3e9669000af9ac4bc (diff) |
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/video/pvrusb2/pvrusb2-wm8775.c')
0 files changed, 0 insertions, 0 deletions