From b4629aeb6694a86c9aa1779a11e209ef012fef96 Mon Sep 17 00:00:00 2001 From: Alexander Viro Date: Sat, 10 Jan 2004 08:39:13 -0500 Subject: [wan lapb] kill now-unused custom token container Nothing is using lapb->token anymore; removed, along with the old "token" argument of lapb_register(). --- net/lapb/lapb_iface.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'net/lapb/lapb_iface.c') diff --git a/net/lapb/lapb_iface.c b/net/lapb/lapb_iface.c index 051e0176422c..beca11e7a5e9 100644 --- a/net/lapb/lapb_iface.c +++ b/net/lapb/lapb_iface.c @@ -140,7 +140,7 @@ out: return lapb; } -int lapb_register(struct net_device *dev, void *token, struct lapb_register_struct *callbacks) +int lapb_register(struct net_device *dev, struct lapb_register_struct *callbacks) { struct lapb_cb *lapb; int rc = LAPB_BADTOKEN; @@ -158,7 +158,6 @@ int lapb_register(struct net_device *dev, void *token, struct lapb_register_stru if (!lapb) goto out; - lapb->token = token; lapb->dev = dev; lapb->callbacks = *callbacks; -- cgit v1.2.3