1
0
Fork 0
alistair23-linux/net/netlink
Markus Elfring fcd4d35ecc netlink: Deletion of an unnecessary check before the function call "__module_get"
The __module_get() function tests whether its argument is NULL and then
returns immediately. Thus the test around the call is not needed.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-11-19 15:27:40 -05:00
..
Kconfig netlink: kconfig: move mmap i/o into netlink kconfig 2013-05-01 15:02:42 -04:00
Makefile netlink: Diag core and basic socket info dumping (v2) 2013-03-21 12:38:03 -04:00
af_netlink.c netlink: Deletion of an unnecessary check before the function call "__module_get" 2014-11-19 15:27:40 -05:00
af_netlink.h netlink: hold nl_sock_hash_lock during diag dump 2014-08-06 19:17:44 -07:00
diag.c netlink: hold nl_sock_hash_lock during diag dump 2014-08-06 19:17:44 -07:00
genetlink.c genetlink: remove superfluous assignment 2014-06-02 10:36:18 -07:00