Remove logically impossible test in scsidoinquiry(..)
It was already done 4 lines prior and the value of error didn't change MFC after: 3 days Reported by: Coverity CID: 1011236 Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
f466fcd2cd
commit
dc8a83a5b6
@ -814,9 +814,6 @@ scsidoinquiry(struct cam_device *device, int argc, char **argv,
|
||||
if (arglist & CAM_ARG_GET_SERIAL)
|
||||
scsiserial(device, retry_count, timeout);
|
||||
|
||||
if (error != 0)
|
||||
return(error);
|
||||
|
||||
if (arglist & CAM_ARG_GET_XFERRATE)
|
||||
error = camxferrate(device);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user