forked from Minki/linux
EDAC/amd8131: Remove defined but not used bridge_str
Fix the following gcc warning: drivers/edac/amd8131_edac.c:47:21: warning: ‘bridge_str’ defined but not used [-Wunused-const-variable=] static char * const bridge_str[] = { ^~~~~~~~~~ Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Jason Yan <yanaijie@huawei.com> Signed-off-by: Borislav Petkov <bp@suse.de> Reviewed-by: Robert Richter <rrichter@marvell.com> Link: https://lkml.kernel.org/r/20200415085006.6732-1-yanaijie@huawei.com
This commit is contained in:
parent
58d66175d4
commit
b2f9fb0d67
@ -44,14 +44,6 @@ static void edac_pci_write_dword(struct pci_dev *dev, int reg, u32 val32)
|
||||
" PCI Access Write Error at 0x%x\n", reg);
|
||||
}
|
||||
|
||||
static char * const bridge_str[] = {
|
||||
[NORTH_A] = "NORTH A",
|
||||
[NORTH_B] = "NORTH B",
|
||||
[SOUTH_A] = "SOUTH A",
|
||||
[SOUTH_B] = "SOUTH B",
|
||||
[NO_BRIDGE] = "NO BRIDGE",
|
||||
};
|
||||
|
||||
/* Support up to two AMD8131 chipsets on a platform */
|
||||
static struct amd8131_dev_info amd8131_devices[] = {
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user