svn commit: r299056 - stable/10/sbin/camcontrol
Garrett Cooper
ngie at FreeBSD.org
Wed May 4 07:33:59 UTC 2016
Author: ngie
Date: Wed May 4 07:33:58 2016
New Revision: 299056
URL: https://svnweb.freebsd.org/changeset/base/299056
Log:
MFC r298758:
Remove logically impossible test in scsidoinquiry(..)
It was already done 4 lines prior and the value of error didn't change
CID: 1011236
Modified:
stable/10/sbin/camcontrol/camcontrol.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sbin/camcontrol/camcontrol.c
==============================================================================
--- stable/10/sbin/camcontrol/camcontrol.c Wed May 4 07:06:48 2016 (r299055)
+++ stable/10/sbin/camcontrol/camcontrol.c Wed May 4 07:33:58 2016 (r299056)
@@ -814,9 +814,6 @@ scsidoinquiry(struct cam_device *device,
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);
More information about the svn-src-stable-10
mailing list