aboutsummaryrefslogtreecommitdiff
path: root/sys/cam/ctl/ctl_frontend_ioctl.c
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2015-09-25 18:15:34 +0000
committerAlexander Motin <mav@FreeBSD.org>2015-09-25 18:15:34 +0000
commitc30a4c18718d583035ba0299f8a4e5f95526d89f (patch)
tree5f43a64127c48228b8197586ebc8c9bac04e13a3 /sys/cam/ctl/ctl_frontend_ioctl.c
parent67cc546dfc4c1636d9c6019e75f6bfe63a3c179c (diff)
downloadsrc-c30a4c18718d583035ba0299f8a4e5f95526d89f.tar.gz
src-c30a4c18718d583035ba0299f8a4e5f95526d89f.zip
Remove some dead code found by Clang analyzer.
Notes
Notes: svn path=/head/; revision=288221
Diffstat (limited to 'sys/cam/ctl/ctl_frontend_ioctl.c')
-rw-r--r--sys/cam/ctl/ctl_frontend_ioctl.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/cam/ctl/ctl_frontend_ioctl.c b/sys/cam/ctl/ctl_frontend_ioctl.c
index d58fc6aa92d0..0f2e7a8154b6 100644
--- a/sys/cam/ctl/ctl_frontend_ioctl.c
+++ b/sys/cam/ctl/ctl_frontend_ioctl.c
@@ -307,10 +307,7 @@ cfi_submit_wait(union ctl_io *io)
ctl_fe_ioctl_state last_state;
int done, retval;
- retval = 0;
-
bzero(&params, sizeof(params));
-
mtx_init(&params.ioctl_mtx, "ctliocmtx", NULL, MTX_DEF);
cv_init(&params.sem, "ctlioccv");
params.state = CTL_IOCTL_INPROG;