summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorAlexander Viro <viro@parcelfarce.linux.theplanet.co.uk>2004-01-10 08:39:13 -0500
committerStephen Hemminger <shemminger@osdl.org>2004-01-10 08:39:13 -0500
commitb4629aeb6694a86c9aa1779a11e209ef012fef96 (patch)
treebb55d1b88e9b9e9adfc905a77039c7a5e069f82b /net/lapb/lapb_iface.c
parentb200a2aa3e8dc0fda9b7462c5d0b94dff8e05518 (diff)
[wan lapb] kill now-unused custom token container
Nothing is using lapb->token anymore; removed, along with the old "token" argument of lapb_register().
Diffstat (limited to 'net/lapb/lapb_iface.c')
-rw-r--r--net/lapb/lapb_iface.c3
1 files changed, 1 insertions, 2 deletions
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;