[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150706065346.GA2156@phenom.ffwll.local>
Date: Mon, 6 Jul 2015 08:53:46 +0200
From: Daniel Vetter <daniel@...ll.ch>
To: John Hunter <zhjwpku@...il.com>
Cc: SF Markus Elfring <elfring@...rs.sourceforge.net>,
Julia Lawall <julia.lawall@...6.fr>,
kernel-janitors@...r.kernel.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
"dri-devel@...ts.freedesktop.org" <dri-devel@...ts.freedesktop.org>
Subject: Re: [PATCH] GPU-DRM: Delete an unnecessary check before
drm_property_unreference_blob()
On Mon, Jul 06, 2015 at 10:01:52AM +0800, John Hunter wrote:
> On Mon, Jul 6, 2015 at 4:00 AM, SF Markus Elfring <
> elfring@...rs.sourceforge.net> wrote:
>
> > From: Markus Elfring <elfring@...rs.sourceforge.net>
> > Date: Sun, 5 Jul 2015 21:55:10 +0200
> >
> > The drm_property_unreference_blob() 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@...rs.sourceforge.net>
> >
>
> Reviewed-by: Zhao Junwang <zhjwpku@...il.com>
Applied to topic/drm-misc, thanks.
-Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists