Re: [PATCH] devcoredump: remove redundant assignment to iter

2017-11-07 Thread Johannes Berg
On Tue, 2017-11-07 at 10:42 +, Colin King wrote: > From: Colin Ian King > > The assignment to pointer iter is redundant as this is also performed > in the following macro for_each_sg, hence it can be removed. Cleans > up clang warning: > >

Re: [PATCH] devcoredump: remove redundant assignment to iter

2017-11-07 Thread Johannes Berg
On Tue, 2017-11-07 at 10:42 +, Colin King wrote: > From: Colin Ian King > > The assignment to pointer iter is redundant as this is also performed > in the following macro for_each_sg, hence it can be removed. Cleans > up clang warning: > > ./include/linux/devcoredump.h:45:2: warning: Value

[PATCH] devcoredump: remove redundant assignment to iter

2017-11-07 Thread Colin King
From: Colin Ian King The assignment to pointer iter is redundant as this is also performed in the following macro for_each_sg, hence it can be removed. Cleans up clang warning: ./include/linux/devcoredump.h:45:2: warning: Value stored to 'iter' is never read

[PATCH] devcoredump: remove redundant assignment to iter

2017-11-07 Thread Colin King
From: Colin Ian King The assignment to pointer iter is redundant as this is also performed in the following macro for_each_sg, hence it can be removed. Cleans up clang warning: ./include/linux/devcoredump.h:45:2: warning: Value stored to 'iter' is never read Signed-off-by: Colin Ian King ---