summaryrefslogtreecommitdiff
path: root/drivers/dahdi/dahdi_dynamic_eth.c
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2011-01-03 18:25:18 +0000
committerShaun Ruffell <sruffell@digium.com>2011-01-03 18:25:18 +0000
commit6505a3ee15efd50dcef350c076311b206cdff3c7 (patch)
treeb06bffe09debe61b1f62f0d4323f303e9bafdb4d /drivers/dahdi/dahdi_dynamic_eth.c
parenteda88515ac1478dd2d1196ba01481f4c39d268a4 (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_eth.c')
-rw-r--r--drivers/dahdi/dahdi_dynamic_eth.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/dahdi/dahdi_dynamic_eth.c b/drivers/dahdi/dahdi_dynamic_eth.c
index 31566d6..c28bf20 100644
--- a/drivers/dahdi/dahdi_dynamic_eth.c
+++ b/drivers/dahdi/dahdi_dynamic_eth.c
@@ -140,7 +140,7 @@ static int ztdeth_notifier(struct notifier_block *block, unsigned long event, vo
return 0;
}
-static int ztdeth_transmit(void *pvt, unsigned char *msg, int msglen)
+static void ztdeth_transmit(void *pvt, unsigned char *msg, int msglen)
{
struct ztdeth *z;
struct sk_buff *skb;
@@ -189,7 +189,6 @@ static int ztdeth_transmit(void *pvt, unsigned char *msg, int msglen)
}
else
spin_unlock_irqrestore(&zlock, flags);
- return 0;
}