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

2018-03-12 Thread David Miller
From: Colin King Date: Sun, 11 Mar 2018 17:27:56 +0100 > From: Colin Ian King > > 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 > > S

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

2018-03-11 Thread santosh.shilim...@oracle.com
On 3/11/18 9:27 AM, Colin King wrote: From: Colin Ian King 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 ---

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

2018-03-11 Thread Sowmini Varadhan
On (03/11/18 17:27), Colin King wrote: > Variable sg_off is assigned a value but it is never read, hence it is > redundant and can be removed. > Acked-by: Sowmini Varadhan

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

2018-03-11 Thread Colin King
From: Colin Ian King 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 --- net/rds/message.c | 2 -- 1 file changed