Re: [PATCH][rds-next] rds: remove redundant variable 'sg_off'

From: David Miller
Date: Mon Mar 12 2018 - 11:12:58 EST


From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Sun, 11 Mar 2018 17:27:56 +0100

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> Variable sg_off is assigned a value but it is never read, hence it is
> redundant and can be removed.
>
> Cleans up clang warning:
> net/rds/message.c:373:2: warning: Value stored to 'sg_off' is never read
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Applied.