Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F146952986
D4736.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
722 B
Referenced Files
None
Subscribers
None
D4736.diff
View Options
Index: head/usr.sbin/camdd/camdd.c
===================================================================
--- head/usr.sbin/camdd/camdd.c
+++ head/usr.sbin/camdd/camdd.c
@@ -1276,7 +1276,6 @@
struct camdd_dev_pass *pass_dev;
struct kevent ke;
int scsi_dev_type;
- int retval;
dev = NULL;
@@ -1336,7 +1335,6 @@
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 @@
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;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 8, 2:04 AM (1 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29390776
Default Alt Text
D4736.diff (722 B)
Attached To
Mode
D4736: Clean up unused-but-set-variable spotted by gcc-4.9.
Attached
Detach File
Event Timeline
Log In to Comment