From: Dan Carpenter Date: Thu, 19 Aug 2010 09:50:04 +0000 (-0300) Subject: V4L/DVB: pvrusb2: remove unneeded NULL checks X-Git-Tag: v2.6.36-rc8~32^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5337966ce4639c775ff5edf92d78f5fad34ef0d;p=pandora-kernel.git 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 Acked-by: Mike Isely Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed