Re: [PATCH v3] video-lp8788: Delete a check before backlight_device_unregister()

2015-07-07 Thread Lee Jones
On Wed, 01 Jul 2015, SF Markus Elfring wrote: > From: Markus Elfring > Date: Wed, 1 Jul 2015 12:08:31 +0200 > > The backlight_device_unregister() function tests whether its argument > is NULL and then returns immediately. > Thus the test around the call is not needed. > > This issue was detecte

Re: [PATCH v3] video-lp8788: Delete a check before backlight_device_unregister()

2015-07-01 Thread Jingoo Han
> On 2015. 7. 1., at PM 7:30, SF Markus Elfring > wrote: > > From: Markus Elfring > Date: Wed, 1 Jul 2015 12:08:31 +0200 > > The backlight_device_unregister() function tests whether its argument > is NULL and then returns immediately. > Thus the test around the call is not needed. > > This i

[PATCH v3] video-lp8788: Delete a check before backlight_device_unregister()

2015-07-01 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 1 Jul 2015 12:08:31 +0200 The backlight_device_unregister() 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 Elfr