lkml.org 
[lkml]   [2014]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH 1/1] IBM-EMAC: Deletion of unnecessary checks before the function call "of_dev_put"
    From
    From: SF Markus Elfring <elfring@users.sourceforge.net>
    Date: Thu, 20 Nov 2014 14:28:25 +0100

    > From: Markus Elfring <elfring@users.sourceforge.net>
    > Date: Thu, 20 Nov 2014 14:22:47 +0100
    >
    > The of_dev_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 <elfring@users.sourceforge.net>

    Applied.


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