From: H Hartley Sweeten Date: Wed, 4 Mar 2015 19:15:42 +0000 (-0700) Subject: staging: comedi: s626: remove unnecessary 'cmd' pointer checks X-Git-Tag: omap-for-v4.2/o2_dc~155^2~138^2~588 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=857ced45a548c3f8196d6e45079678ab3c9f3581;p=pandora-kernel.git staging: comedi: s626: remove unnecessary 'cmd' pointer checks The local variable 'cmd' is a pointer to the address of a member variable of a struct. It will always be valid. Remove the unnecessary checks. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed