Tag: fcd4d35ecc1636c8ac50e3a6266a620eb8ff0626

netlink: Deletion of an unnecessary check before the function call “__module_get”

Author: Markus Elfring <elfring@users.sourceforge.net> 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 Signed-off-by: David S. Miller — net/netlink/af_netlink.c | 3 +– 1 file changed, 1 insertion(+), 2 deletions(-)   …

Continue reading