lkml.org 
[lkml]   [2020]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] bna: remove set but not used variable 'pgoff'
From
From: yu kuai <yukuai3@huawei.com>
Date: Fri, 3 Jan 2020 20:04:37 +0800

> drivers/net/ethernet/brocade/bna/bfa_ioc.c: In function
> ‘bfa_ioc_fwver_clear’:
> drivers/net/ethernet/brocade/bna/bfa_ioc.c:1127:13: warning: variable
> ‘pgoff’ set but not used [-Wunused-but-set-variable]
>
> It is never used, and so can be removed.
>
> Signed-off-by: yu kuai <yukuai3@huawei.com>

Applied.
\
 
 \ /
  Last update: 2020-01-03 21:34    [W:0.031 / U:32.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site