From 3755ec9bf293a559ebc1f036a7694d3b3db232db Mon Sep 17 00:00:00 2001 From: Shaun Ruffell Date: Tue, 17 Jun 2014 01:33:15 -0500 Subject: [PATCH] wct4xxp: Remove unused open/close span_ops callbacks. Signed-off-by: Shaun Ruffell Signed-off-by: Russ Meyerriecks --- drivers/dahdi/wct4xxp/base.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/drivers/dahdi/wct4xxp/base.c b/drivers/dahdi/wct4xxp/base.c index e2b4a90..983e448 100644 --- a/drivers/dahdi/wct4xxp/base.c +++ b/drivers/dahdi/wct4xxp/base.c @@ -1832,16 +1832,6 @@ t4_chanconfig(struct file *file, struct dahdi_chan *chan, int sigtype) return 0; } -static int t4_open(struct dahdi_chan *chan) -{ - return 0; -} - -static int t4_close(struct dahdi_chan *chan) -{ - return 0; -} - static int set_span_devicetype(struct t4 *wc) { #ifdef VPM_SUPPORT @@ -2334,8 +2324,6 @@ static const struct dahdi_span_ops t4_gen1_span_ops = { .shutdown = t4_shutdown, .rbsbits = t4_rbsbits, .maint = t4_maint, - .open = t4_open, - .close = t4_close, .ioctl = t4_ioctl, .hdlc_hard_xmit = t4_hdlc_hard_xmit, .assigned = t4_span_assigned, @@ -2350,8 +2338,6 @@ static const struct dahdi_span_ops t4_gen2_span_ops = { .shutdown = t4_shutdown, .rbsbits = t4_rbsbits, .maint = t4_maint, - .open = t4_open, - .close = t4_close, .ioctl = t4_ioctl, .hdlc_hard_xmit = t4_hdlc_hard_xmit, .dacs = t4_dacs,