aboutsummaryrefslogtreecommitdiff
path: root/sys/cam/ctl/ctl_frontend_iscsi.c
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2017-01-22 20:06:15 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2017-01-22 20:06:15 +0000
commitf308ab7043354229b9c7a617ba25a8384b577f91 (patch)
tree8c0d2c3762119dea3adc94481b8fe477e316ece8 /sys/cam/ctl/ctl_frontend_iscsi.c
parentb11244e721037814f7c6f2d3d8d6e1382c8476ef (diff)
downloadsrc-f308ab7043354229b9c7a617ba25a8384b577f91.tar.gz
src-f308ab7043354229b9c7a617ba25a8384b577f91.zip
Remove max_targets and max_target_id CTL port variables; they were unused.
This changes the CTL frontend ABI and thus shouldn't be MFC-ed. Reviewed by: mav@
Notes
Notes: svn path=/head/; revision=312651
Diffstat (limited to 'sys/cam/ctl/ctl_frontend_iscsi.c')
-rw-r--r--sys/cam/ctl/ctl_frontend_iscsi.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/cam/ctl/ctl_frontend_iscsi.c b/sys/cam/ctl/ctl_frontend_iscsi.c
index 55b56ae18cc6..ca4bda1e2965 100644
--- a/sys/cam/ctl/ctl_frontend_iscsi.c
+++ b/sys/cam/ctl/ctl_frontend_iscsi.c
@@ -2127,11 +2127,6 @@ cfiscsi_ioctl_port_create(struct ctl_req *req)
port->onoff_arg = ct;
port->fe_datamove = cfiscsi_datamove;
port->fe_done = cfiscsi_done;
-
- /* XXX KDM what should we report here? */
- /* XXX These should probably be fetched from CTL. */
- port->max_targets = 1;
- port->max_target_id = 15;
port->targ_port = -1;
port->options = opts;