Re: [PATCH] PM-wakeup: Delete unnecessary checks before two function calls

2016-07-22 Thread Rafael J. Wysocki
On Friday, July 22, 2016 10:35:27 PM SF Markus Elfring wrote: > Am 28.06.2015 um 12:21 schrieb SF Markus Elfring: > > From: Markus Elfring > > Date: Sun, 28 Jun 2015 12:14:43 +0200 > > > > The functions dev_pm_disarm_wake_irq() and wakeup_source_unregister() test > > whether their argument is NUL

Re: [PATCH] PM-wakeup: Delete unnecessary checks before two function calls

2016-07-22 Thread SF Markus Elfring
Am 28.06.2015 um 12:21 schrieb SF Markus Elfring: > From: Markus Elfring > Date: Sun, 28 Jun 2015 12:14:43 +0200 > > The functions dev_pm_disarm_wake_irq() and wakeup_source_unregister() test > whether their argument is NULL and then return immediately. > Thus the test around the calls is not nee

Re: [PATCH] PM-wakeup: Delete unnecessary checks before two function calls

2015-08-13 Thread Pavel Machek
On Sun 2015-06-28 12:21:53, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sun, 28 Jun 2015 12:14:43 +0200 > > The functions dev_pm_disarm_wake_irq() and wakeup_source_unregister() test > whether their argument is NULL and then return immediately. > Thus the test around the calls is not

[PATCH] PM-wakeup: Delete unnecessary checks before two function calls

2015-06-28 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 28 Jun 2015 12:14:43 +0200 The functions dev_pm_disarm_wake_irq() and wakeup_source_unregister() test whether their argument is NULL and then return immediately. Thus the test around the calls is not needed. This issue was detected by using the Coccinelle software