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

From: Johannes Berg
Date: Tue Nov 07 2017 - 20:06:24 EST


On Tue, 2017-11-07 at 10:42 +0000, Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> 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
>
I think you'll have to Cc Greg KH to get this applied, unless somebody
picks it up from janitors.

johannes