aboutsummaryrefslogtreecommitdiff
path: root/sys/cam/ctl/ctl_tpc_local.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/cam/ctl/ctl_tpc_local.c')
-rw-r--r--sys/cam/ctl/ctl_tpc_local.c34
1 files changed, 0 insertions, 34 deletions
diff --git a/sys/cam/ctl/ctl_tpc_local.c b/sys/cam/ctl/ctl_tpc_local.c
index fb1f2ac1fb0e..7e66340f711a 100644
--- a/sys/cam/ctl/ctl_tpc_local.c
+++ b/sys/cam/ctl/ctl_tpc_local.c
@@ -66,10 +66,6 @@ static struct tpcl_softc tpcl_softc;
static int tpcl_init(void);
static void tpcl_shutdown(void);
-static void tpcl_online(void *arg);
-static void tpcl_offline(void *arg);
-static int tpcl_lun_enable(void *arg, int lun_id);
-static int tpcl_lun_disable(void *arg, int lun_id);
static void tpcl_datamove(union ctl_io *io);
static void tpcl_done(union ctl_io *io);
@@ -97,12 +93,6 @@ tpcl_init(void)
port->port_type = CTL_PORT_INTERNAL;
port->num_requested_ctl_io = 100;
port->port_name = "tpc";
- port->port_online = tpcl_online;
- port->port_offline = tpcl_offline;
- port->onoff_arg = tsoftc;
- port->lun_enable = tpcl_lun_enable;
- port->lun_disable = tpcl_lun_disable;
- port->targ_lun_arg = tsoftc;
port->fe_datamove = tpcl_datamove;
port->fe_done = tpcl_done;
port->max_targets = 1;
@@ -141,30 +131,6 @@ tpcl_shutdown(void)
}
static void
-tpcl_online(void *arg)
-{
-}
-
-static void
-tpcl_offline(void *arg)
-{
-}
-
-static int
-tpcl_lun_enable(void *arg, int lun_id)
-{
-
- return (0);
-}
-
-static int
-tpcl_lun_disable(void *arg, int lun_id)
-{
-
- return (0);
-}
-
-static void
tpcl_datamove(union ctl_io *io)
{
struct ctl_sg_entry *ext_sglist, *kern_sglist;