Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 315143
b: refs/heads/master
c: 4d27de1
h: refs/heads/master
i:
  315141: 8703ffe
  315139: 78b0bba
  315135: 58b06f4
v: v3
  • Loading branch information
alex.bluesman.smirnov@gmail.com authored and David S. Miller committed Jul 12, 2012
1 parent cb8d0d3 commit 37e8edb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d348446b8840602091872b8272855dee196f6dd5
refs/heads/master: 4d27de149ba17eb7643b6665ad3513d00d65b6c2
4 changes: 1 addition & 3 deletions trunk/net/ieee802154/6lowpan.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ struct lowpan_fragment {

static unsigned short fragment_tag;
static LIST_HEAD(lowpan_fragments);
spinlock_t flist_lock;
static DEFINE_SPINLOCK(flist_lock);

static inline struct
lowpan_dev_info *lowpan_dev_info(const struct net_device *dev)
Expand Down Expand Up @@ -1186,8 +1186,6 @@ static int lowpan_newlink(struct net *src_net, struct net_device *dev,
list_add_tail(&entry->list, &lowpan_devices);
mutex_unlock(&lowpan_dev_info(dev)->dev_list_mtx);

spin_lock_init(&flist_lock);

register_netdevice(dev);

return 0;
Expand Down

0 comments on commit 37e8edb

Please sign in to comment.