lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190609.201209.1140880047511507398.davem@davemloft.net>
Date:   Sun, 09 Jun 2019 20:12:09 -0700 (PDT)
From:   David Miller <davem@...emloft.net>
To:     maowenan@...wei.com
Cc:     alexandre.belloni@...tlin.com, netdev@...r.kernel.org,
        linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH -next] ocelot: remove unused variable 'rc' in vcap_cmd()

From: Mao Wenan <maowenan@...wei.com>
Date: Sun, 9 Jun 2019 15:11:26 +0800

> Fixes gcc '-Wunused-but-set-variable' warning:
> 
> drivers/net/ethernet/mscc/ocelot_ace.c: In function ‘vcap_cmd’:
> drivers/net/ethernet/mscc/ocelot_ace.c:108:6: warning: variable ‘rc’ set
> but not used [-Wunused-but-set-variable]
>   int rc;
>       ^
> It's never used since introduction in commit b596229448dd ("net: mscc:
> ocelot: Add support for tcam")
> 
> Signed-off-by: Mao Wenan <maowenan@...wei.com>

Applied.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ