From: Eric Sesterhenn Date: Wed, 23 May 2007 21:41:36 +0000 (-0700) Subject: [SCSI] sg: remove unnecessary check X-Git-Tag: v2.6.23-rc1~1053^2~116 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb119935e11b98230f20c500e9f9125ddf0f3a4d;p=pandora-kernel.git [SCSI] sg: remove unnecessary check coverity spotted this (cid #758). All callers dereference sfp, so we dont need this check. In addition to this, we dereference it earlier in the function. Signed-off-by: Eric Sesterhenn Acked-by: Douglas Gilbert Signed-off-by: Andrew Morton Signed-off-by: James Bottomley --- Reading git-diff-tree failed