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

David Miller davem at davemloft.net
Mon Mar 12 08:12:51 PDT 2018


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

> From: Colin Ian King <colin.king at canonical.com>
> 
> 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 at canonical.com>

Applied.



More information about the rds-devel mailing list