projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'linux-kselftest-kunit-5.15-rc1' of git://git.kernel.org/pub/scm/linux...
[linux-2.6-microblaze.git]
/
net
/
netrom
/
nr_route.c
diff --git
a/net/netrom/nr_route.c
b/net/netrom/nr_route.c
index
de04560
..
ddd5cbd
100644
(file)
--- a/
net/netrom/nr_route.c
+++ b/
net/netrom/nr_route.c
@@
-582,8
+582,7
@@
struct net_device *nr_dev_first(void)
if (first == NULL || strncmp(dev->name, first->name, 3) < 0)
first = dev;
}
- if (first)
- dev_hold(first);
+ dev_hold(first);
rcu_read_unlock();
return first;