summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
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;