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

    > From: Markus Elfring <elfring@users.sourceforge.net>
    > Date: Tue, 18 Nov 2014 20:10:34 +0100
    >
    > The proc_remove() 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:4.732 / U:1.256 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site