Re: [PATCH 3/5] blk-throttle: Adjust two function calls together with a variable assignment

2017-01-23 Thread Jens Axboe
On 01/23/2017 02:20 AM, Johannes Thumshirn wrote: > On Sun, Jan 22, 2017 at 09:33:08AM +0100, SF Markus Elfring wrote: >> From: Markus Elfring >> Date: Sat, 21 Jan 2017 22:15:33 +0100 >> >> The script "checkpatch.pl" pointed information out like the following. >> >>

Re: [PATCH 3/5] blk-throttle: Adjust two function calls together with a variable assignment

2017-01-23 Thread Johannes Thumshirn
On Sun, Jan 22, 2017 at 09:33:08AM +0100, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sat, 21 Jan 2017 22:15:33 +0100 > > The script "checkpatch.pl" pointed information out like the following. > > ERROR: do not use assignment in if condition > > Thus

[PATCH 3/5] blk-throttle: Adjust two function calls together with a variable assignment

2017-01-22 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 21 Jan 2017 22:15:33 +0100 The script "checkpatch.pl" pointed information out like the following. ERROR: do not use assignment in if condition Thus fix the affected source code places. Signed-off-by: Markus Elfring