Tag: 92b80eb33c52583b48ed289bd993579b87b52d9a

netlink: Delete an unnecessary check before the function call “module_put”

Author: Markus Elfring <elfring@users.sourceforge.net> The module_put() 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)   …

Continue reading