diff options
author | Eric Sesterhenn <snakebyte@gmx.de> | 2007-05-23 14:41:36 -0700 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2007-05-28 09:08:32 -0500 |
commit | fb119935e11b98230f20c500e9f9125ddf0f3a4d (patch) | |
tree | 106c15b2a5e805f91a172ac637525a1cf3bdcbda /lib/devres.c | |
parent | deff2627cda995c926788fd9192337ec3febe7b5 (diff) |
[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 <snakebyte@gmx.de>
Acked-by: Douglas Gilbert <dougg@torque.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'lib/devres.c')
0 files changed, 0 insertions, 0 deletions