Re: [PATCH Resend] PM: Remove unnecessary !!

2014-03-10 Thread Rafael J. Wysocki
On Monday, March 10, 2014 07:31:51 PM Viresh Kumar wrote: > Double ! or !! are normally required to get 0 or 1 out of a expression. A > comparision always returns 0 or 1 and hence there is no need to apply double ! > over it again. > > Signed-off-by: Viresh Kumar Queued up for 3.15, thanks! > -

[PATCH Resend] PM: Remove unnecessary !!

2014-03-10 Thread Viresh Kumar
Double ! or !! are normally required to get 0 or 1 out of a expression. A comparision always returns 0 or 1 and hence there is no need to apply double ! over it again. Signed-off-by: Viresh Kumar --- kernel/power/suspend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kerne

Re: [PATCH Resend] PM: Remove unnecessary !!

2014-02-12 Thread Viresh Kumar
On 22 January 2014 11:34, Viresh Kumar wrote: > Double ! or !! are normally required to get 0 or 1 out of a expression. A > comparision always returns 0 or 1 and hence there is no need to apply double ! > over it again. > > Signed-off-by: Viresh Kumar > --- > kernel/power/suspend.c | 2 +- > 1 f

[PATCH Resend] PM: Remove unnecessary !!

2014-01-21 Thread Viresh Kumar
Double ! or !! are normally required to get 0 or 1 out of a expression. A comparision always returns 0 or 1 and hence there is no need to apply double ! over it again. Signed-off-by: Viresh Kumar --- kernel/power/suspend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kerne