diff options
| author | Marcelo Araujo <araujo@FreeBSD.org> | 2015-12-31 01:57:55 +0000 |
|---|---|---|
| committer | Marcelo Araujo <araujo@FreeBSD.org> | 2015-12-31 01:57:55 +0000 |
| commit | 09df572391c107dcf26d2cbdd4008039e2c0430f (patch) | |
| tree | f7a189216d16c84ffdda007cfaf50d50409c71a9 /usr.sbin/camdd | |
| parent | d74fdc6a35271ee995de983b193d737950b89b82 (diff) | |
Notes
Diffstat (limited to 'usr.sbin/camdd')
| -rw-r--r-- | usr.sbin/camdd/camdd.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/usr.sbin/camdd/camdd.c b/usr.sbin/camdd/camdd.c index 573214e5bc5b..9284eb5459d0 100644 --- a/usr.sbin/camdd/camdd.c +++ b/usr.sbin/camdd/camdd.c @@ -1276,7 +1276,6 @@ camdd_probe_pass(struct cam_device *cam_dev, struct camdd_io_opts *io_opts, struct camdd_dev_pass *pass_dev; struct kevent ke; int scsi_dev_type; - int retval; dev = NULL; @@ -1336,7 +1335,6 @@ camdd_probe_pass(struct cam_device *cam_dev, struct camdd_io_opts *io_opts, if ((ccb->ccb_h.status & CAM_STATUS_MASK) != CAM_REQ_CMP) { cam_error_print(cam_dev, ccb, CAM_ESF_ALL, CAM_EPF_ALL, stderr); - retval = 1; goto bailout; } @@ -1371,11 +1369,8 @@ camdd_probe_pass(struct cam_device *cam_dev, struct camdd_io_opts *io_opts, if (cam_send_ccb(cam_dev, ccb) < 0) { warn("error sending READ CAPACITY (16) command"); - cam_error_print(cam_dev, ccb, CAM_ESF_ALL, CAM_EPF_ALL, stderr); - - retval = 1; goto bailout; } |
