diff options
author | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2017-01-22 20:06:15 +0000 |
---|---|---|
committer | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2017-01-22 20:06:15 +0000 |
commit | f308ab7043354229b9c7a617ba25a8384b577f91 (patch) | |
tree | 8c0d2c3762119dea3adc94481b8fe477e316ece8 /sys/cam/ctl/ctl_frontend_cam_sim.c | |
parent | b11244e721037814f7c6f2d3d8d6e1382c8476ef (diff) | |
download | src-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_cam_sim.c')
-rw-r--r-- | sys/cam/ctl/ctl_frontend_cam_sim.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/cam/ctl/ctl_frontend_cam_sim.c b/sys/cam/ctl/ctl_frontend_cam_sim.c index 00a960e9e28c..2930d0a06db5 100644 --- a/sys/cam/ctl/ctl_frontend_cam_sim.c +++ b/sys/cam/ctl/ctl_frontend_cam_sim.c @@ -147,11 +147,6 @@ cfcs_init(void) port->onoff_arg = softc; port->fe_datamove = cfcs_datamove; port->fe_done = cfcs_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; retval = ctl_port_register(port); |