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

santosh.shilimkar at oracle.com santosh.shilimkar at oracle.com
Sun Mar 11 23:54:27 PDT 2018


On 3/11/18 9:27 AM, Colin King wrote:
> 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>
> ---
>   net/rds/message.c | 2 --
>   1 file changed, 2 deletions(-)
> 
Thanks Colin !!

Acked-by: Santosh Shilimkar <santosh.shilimkar at oracle.com>



More information about the rds-devel mailing list