From: Stefan Hajnoczi Date: Sat, 10 Dec 2011 01:12:30 +0000 (+0100) Subject: staging: line6: eliminate useless NULL checks X-Git-Tag: v3.3-rc1~152^2~97 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=188e664502dc47f83775a556e6db52cd8cc0b5fc;p=pandora-kernel.git staging: line6: eliminate useless NULL checks The line6 driver checks struct field addresses for NULL where it does not make sense to do so. The struct has already been checked for NULL and there is no value in checking the first field's address too. Suggested-by: Dan Carpenter Signed-off-by: Stefan Hajnoczi Signed-off-by: Markus Grabner Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed