git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
phonet: phonet_device_get() fix
[safe/jmp/linux-2.6]
/
net
/
phonet
/
pn_dev.c
diff --git
a/net/phonet/pn_dev.c
b/net/phonet/pn_dev.c
index
6b30cc1
..
5ae4c01
100644
(file)
--- a/
net/phonet/pn_dev.c
+++ b/
net/phonet/pn_dev.c
@@
-97,7
+97,7
@@
struct net_device *phonet_device_get(struct net *net)
{
struct phonet_device_list *pndevs = phonet_device_list(net);
struct phonet_device *pnd;
- struct net_device *dev;
+ struct net_device *dev
= NULL
;
spin_lock_bh(&pndevs->lock);
list_for_each_entry(pnd, &pndevs->list, list) {