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

From: santosh.shilimkar@xxxxxxxxxx
Date: Mon Mar 12 2018 - 02:54:46 EST


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

Thanks Colin !!

Acked-by: Santosh Shilimkar <santosh.shilimkar@xxxxxxxxxx>