lkml.org 
[lkml]   [2014]   [Nov]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH 1/1] netlink: Deletion of an unnecessary check before the function call "__module_get"
    From
    From: SF Markus Elfring <elfring@users.sourceforge.net>
    Date: Tue, 18 Nov 2014 21:08:39 +0100

    > From: Markus Elfring <elfring@users.sourceforge.net>
    > Date: Tue, 18 Nov 2014 21:03:13 +0100
    >
    > 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>

    Applied, thanks.


    \
     
     \ /
      Last update: 2014-11-19 21:41    [W:5.489 / U:0.892 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site