summaryrefslogtreecommitdiffstats
path: root/sys/cam
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2015-09-26 11:39:54 +0000
committermav <mav@FreeBSD.org>2015-09-26 11:39:54 +0000
commit4fe0be11b5a435c62064b90c1e0937c346964fa6 (patch)
tree92fc886b2aca26882f2024fa8ef9f1151f96d389 /sys/cam
parent70f018005eb7d733a998c68df6929d2061cc1944 (diff)
downloadFreeBSD-src-4fe0be11b5a435c62064b90c1e0937c346964fa6.zip
FreeBSD-src-4fe0be11b5a435c62064b90c1e0937c346964fa6.tar.gz
Remove few more unused variables.
Diffstat (limited to 'sys/cam')
-rw-r--r--sys/cam/ctl/ctl.c1
-rw-r--r--sys/cam/ctl/ctl_private.h3
2 files changed, 0 insertions, 4 deletions
diff --git a/sys/cam/ctl/ctl.c b/sys/cam/ctl/ctl.c
index 88ec19e..23b0217 100644
--- a/sys/cam/ctl/ctl.c
+++ b/sys/cam/ctl/ctl.c
@@ -1753,7 +1753,6 @@ ctl_init(void)
mtx_init(&softc->ctl_lock, "CTL mutex", NULL, MTX_DEF);
softc->io_zone = uma_zcreate("CTL IO", sizeof(union ctl_io),
NULL, NULL, NULL, NULL, UMA_ALIGN_PTR, 0);
- softc->open_count = 0;
softc->flags = 0;
SYSCTL_ADD_INT(&softc->sysctl_ctx, SYSCTL_CHILDREN(softc->sysctl_tree),
diff --git a/sys/cam/ctl/ctl_private.h b/sys/cam/ctl/ctl_private.h
index 2da9727..f6f5187 100644
--- a/sys/cam/ctl/ctl_private.h
+++ b/sys/cam/ctl/ctl_private.h
@@ -419,8 +419,6 @@ struct tpc_token;
struct ctl_softc {
struct mtx ctl_lock;
struct cdev *dev;
- int open_count;
- int num_disks;
int num_luns;
ctl_gen_flags flags;
ctl_ha_mode ha_mode;
@@ -436,7 +434,6 @@ struct ctl_softc {
struct sysctl_oid *sysctl_tree;
void *othersc_pool;
struct proc *ctl_proc;
- int targ_online;
uint32_t ctl_lun_mask[(CTL_MAX_LUNS + 31) / 32];
struct ctl_lun *ctl_luns[CTL_MAX_LUNS];
uint32_t ctl_port_mask[(CTL_MAX_PORTS + 31) / 32];
OpenPOWER on IntegriCloud