projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
isdn: autoconvert trivial BKL users to private mutex
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
drivers
/
isdn
/
hysdn
/
hysdn_net.c
diff --git
a/drivers/isdn/hysdn/hysdn_net.c
b/drivers/isdn/hysdn/hysdn_net.c
index 72eb92647c1b15e2619f1969892196240a5d2fb2..feec8d89d719c07395ed0e5aa7b02fd6e7fb32c0 100644
(file)
--- a/
drivers/isdn/hysdn/hysdn_net.c
+++ b/
drivers/isdn/hysdn/hysdn_net.c
@@
-187,12
+187,13
@@
void
hysdn_rx_netpkt(hysdn_card * card, unsigned char *buf, unsigned short len)
{
struct net_local *lp = card->netif;
hysdn_rx_netpkt(hysdn_card * card, unsigned char *buf, unsigned short len)
{
struct net_local *lp = card->netif;
- struct net_device *dev
= lp->dev
;
+ struct net_device *dev;
struct sk_buff *skb;
if (!lp)
return; /* non existing device */
struct sk_buff *skb;
if (!lp)
return; /* non existing device */
+ dev = lp->dev;
dev->stats.rx_bytes += len;
skb = dev_alloc_skb(len);
dev->stats.rx_bytes += len;
skb = dev_alloc_skb(len);