lkml.org 
[lkml]   [2015]   [Feb]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH] netxen: Delete an unnecessary check before the function call "kfree"
    From
    From: SF Markus Elfring <elfring@users.sourceforge.net>
    Date: Wed, 04 Feb 2015 13:21:29 +0100

    > From: Markus Elfring <elfring@users.sourceforge.net>
    > Date: Wed, 4 Feb 2015 13:17:48 +0100
    >
    > The kfree() 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.


    \
     
     \ /
      Last update: 2015-02-05 09:41    [W:4.354 / U:0.028 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site