Re: [PATCH] block: Remove a duplicative condition
On 9/1/20 7:45 PM, Baolin Wang wrote: > Remove a duplicative condition to remove below cppcheck warnings: Thanks, applied. -- Jens Axboe
[PATCH] block: Remove a duplicative condition
Remove a duplicative condition to remove below cppcheck warnings: "warning: Redundant condition: sched_allow_merge. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition]" Reported-by: kernel test robot Signed-off-by: Baolin Wang --- block/blk-merge.c | 6 ++ 1 file changed, 2 in