diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-05-25 22:41:53 +0800 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2019-06-20 11:44:36 -0700 |
commit | ff70cacc967f9455e4b6f62b9a57b5962d9fb725 (patch) | |
tree | 1107a7d0941d22e66ea63b15d90ad81739cbff68 /scripts/link-vmlinux.sh | |
parent | 4d91fde8d570ffe82e6aa0eec39935b5eed18b45 (diff) | |
download | linux-ff70cacc967f9455e4b6f62b9a57b5962d9fb725.tar.bz2 |
EDAC/aspeed: Remove set but not used variable 'np'
Fix the following -Wunused-but-set-variable warning:
drivers/edac/aspeed_edac.c: In function aspeed_probe:
drivers/edac/aspeed_edac.c:284:22: warning: variable np set but not used [-Wunused-but-set-variable]
It is never used and can be removed.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Reviewed-by: Stefan Schaeckeler <sschaeck@cisco.com>
Cc: James Morse <james.morse@arm.com>
Cc: Joel Stanley <joel@jms.id.au>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-aspeed@lists.ozlabs.org
Cc: linux-edac <linux-edac@vger.kernel.org>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Link: https://lkml.kernel.org/r/20190525144153.2028-1-yuehaibing@huawei.com
Diffstat (limited to 'scripts/link-vmlinux.sh')
0 files changed, 0 insertions, 0 deletions