lkml.org 
[lkml]   [2015]   [Nov]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] HID: Wacom: Delete an unnecessary check before the function call "kobject_put"
    On Fri, 6 Nov 2015, SF Markus Elfring wrote:

    > From: Markus Elfring <elfring@users.sourceforge.net>
    > Date: Fri, 6 Nov 2015 17:55:23 +0100
    >
    > The kobject_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.

    Applied to for-4.5/wacom.

    Thanks,

    --
    Jiri Kosina
    SUSE Labs



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