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

2016-07-23 Thread Rafael J. Wysocki
On Saturday, July 23, 2016 07:32:22 AM SF Markus Elfring wrote: > >> How do you think about to integrate this update suggestion > >> into another source code repository? > > > > I'm not really sure what you mean. > > Do you find the suggested source code change acceptable? > > http://article.gma

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

2016-07-22 Thread SF Markus Elfring
>> How do you think about to integrate this update suggestion >> into another source code repository? > > I'm not really sure what you mean. Do you find the suggested source code change acceptable? http://article.gmane.org/gmane.linux.power-management.general/61766 https://lkml.org/lkml/2015/6/2

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