lkml.org 
[lkml]   [2014]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 1/1] netfilter: Deletion of unnecessary checks before two function calls
    On Thu, Nov 20, 2014 at 10:13:59AM +0900, Simon Horman wrote:
    > On Thu, Nov 20, 2014 at 12:26:56AM +0200, Julian Anastasov wrote:
    > >
    > > Hello,
    > >
    > > On Tue, 18 Nov 2014, SF Markus Elfring wrote:
    > >
    > > > From: Markus Elfring <elfring@users.sourceforge.net>
    > > > Date: Tue, 18 Nov 2014 20:37:05 +0100
    > > >
    > > > The functions free_percpu() and module_put() test whether their argument
    > > > is NULL and then return 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>
    > >
    > > Pablo, the IPVS parts look ok to me,
    > >
    > > Acked-by: Julian Anastasov <ja@ssi.bg>
    >
    > Acked-by: Simon Horman <horms@verge.net.au>

    Applied, thanks.


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