diff options
author | Shaun Ruffell <sruffell@digium.com> | 2011-01-03 18:25:18 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2011-01-03 18:25:18 +0000 |
commit | 73e836374ffe620458fd98672bd990034345b6c0 (patch) | |
tree | b06bffe09debe61b1f62f0d4323f303e9bafdb4d /drivers/dahdi/dahdi_dynamic_ethmf.c | |
parent | 8fb6d3be94d01363c0a79dc4d91b547e0f13ed5c (diff) |
dahdi_dynamic_[loc|eth|ethmf]: Remove unused return value from transmit callback.
The return value from the transmit callback function was not used
anywhere, and is now removed.
Signed-off-by: Shaun Ruffell <sruffell@digium.com>
Acked-by: Kinsey Moore <kmoore@digium.com>
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9570 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/dahdi_dynamic_ethmf.c')
-rw-r--r-- | drivers/dahdi/dahdi_dynamic_ethmf.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/dahdi/dahdi_dynamic_ethmf.c b/drivers/dahdi/dahdi_dynamic_ethmf.c index 126001f..8dfb464 100644 --- a/drivers/dahdi/dahdi_dynamic_ethmf.c +++ b/drivers/dahdi/dahdi_dynamic_ethmf.c @@ -388,7 +388,7 @@ static int ztdethmf_notifier(struct notifier_block *block, unsigned long event, return 0; } -static int ztdethmf_transmit(void *pvt, unsigned char *msg, int msglen) +static void ztdethmf_transmit(void *pvt, unsigned char *msg, int msglen) { struct ztdeth *z = pvt, *ready_spans[ETHMF_MAX_PER_SPAN_GROUP]; struct sk_buff *skb; @@ -402,13 +402,13 @@ static int ztdethmf_transmit(void *pvt, unsigned char *msg, int msglen) #endif if (atomic_read(&shutdown)) - return 0; + return; rcu_read_lock(); if (unlikely(!z || !z->dev)) { rcu_read_unlock(); - return 0; + return; } #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 10) @@ -464,7 +464,7 @@ static int ztdethmf_transmit(void *pvt, unsigned char *msg, int msglen) if (unlikely(!skb)) { rcu_read_unlock(); ethmf_errors_inc(); - return 0; + return; } /* Reserve header space */ @@ -534,7 +534,7 @@ static int ztdethmf_transmit(void *pvt, unsigned char *msg, int msglen) rcu_read_unlock(); - return 0; + return; } static int ztdethmf_flush(void) |