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
1c9f21beba
commit
99c904a365
@ -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