lapb: moved export of lapb_register.
The EXPORT_SYMBOL for lapb_register was next to a different function. Moved it to the right place. Signed-off-by: Jeremy Sowden <jeremy@azazel.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
1718132587
commit
4201c9260a
|
@ -68,7 +68,6 @@ static void __lapb_remove_cb(struct lapb_cb *lapb)
|
|||
lapb_put(lapb);
|
||||
}
|
||||
}
|
||||
EXPORT_SYMBOL(lapb_register);
|
||||
|
||||
/*
|
||||
* Add a socket to the bound sockets list.
|
||||
|
@ -115,7 +114,6 @@ static struct lapb_cb *lapb_create_cb(void)
|
|||
{
|
||||
struct lapb_cb *lapb = kzalloc(sizeof(*lapb), GFP_ATOMIC);
|
||||
|
||||
|
||||
if (!lapb)
|
||||
goto out;
|
||||
|
||||
|
@ -167,6 +165,7 @@ int lapb_register(struct net_device *dev,
|
|||
write_unlock_bh(&lapb_list_lock);
|
||||
return rc;
|
||||
}
|
||||
EXPORT_SYMBOL(lapb_register);
|
||||
|
||||
int lapb_unregister(struct net_device *dev)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue