mirror of
https://github.com/opnsense/src.git
synced 2026-03-18 08:41:30 -04:00
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
1 changed files with 0 additions and 3 deletions
|
|
@ -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 a new issue