lkml.org 
[lkml]   [2018]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH][rds-next] rds: remove redundant variable 'sg_off'
From
Date
On 3/11/18 9:27 AM, Colin King wrote:
> From: Colin Ian King <colin.king@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@canonical.com>
> ---
> net/rds/message.c | 2 --
> 1 file changed, 2 deletions(-)
>
Thanks Colin !!

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

\
 
 \ /
  Last update: 2018-03-12 07:55    [W:0.047 / U:1.788 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site