summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2011-04-26 06:05:29 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2011-04-26 06:05:29 +0200
commitf8a41bf30f1121295e3f6c800e98860ed9cc74f0 (patch)
treee37c129967a3e5c603bae60c3310e214ca2970d1
parent05a1dd2e51fe246b53ab6eec01a4cb87b2adb13e (diff)
downloadmodquicktun-f8a41bf30f1121295e3f6c800e98860ed9cc74f0.tar
modquicktun-f8a41bf30f1121295e3f6c800e98860ed9cc74f0.zip
Get rid of some unused code
-rw-r--r--quicktun.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/quicktun.c b/quicktun.c
index e745e48..0d259c4 100644
--- a/quicktun.c
+++ b/quicktun.c
@@ -49,12 +49,6 @@ struct quicktun_struct {
struct socket *sock;
};
-struct send_work {
- struct work_struct work;
- struct quicktun_struct *quicktun;
- struct sk_buff *skb;
-};
-
static netdev_tx_t quicktun_net_xmit(struct sk_buff *skb, struct net_device *dev)
{
@@ -533,7 +527,6 @@ static void __quicktun_delete_device(struct net_device *dev) {
unregister_netdevice(dev);
- flush_scheduled_work();
sock_release(sock);
}