powerpc/eeh: remove unused macro IS_BRIDGE
authorWei Yang <weiyang@linux.vnet.ibm.com>
Mon, 27 Apr 2015 01:25:12 +0000 (09:25 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 13 May 2015 04:00:07 +0000 (14:00 +1000)
Currently, the macro IS_BRIDGE is not used any where.
This patch just removes it.

Signed-off-by: Wei Yang <weiyang@linux.vnet.ibm.com>
Acked-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/eeh.c

index 04b5d94973dc3ecc9ac97d9eafee9a9bcc043347..23e0aa7736434d6f8dd7a828ee89cdb87d548537 100644 (file)
@@ -144,8 +144,6 @@ struct eeh_stats {
 
 static struct eeh_stats eeh_stats;
 
-#define IS_BRIDGE(class_code) (((class_code)<<16) == PCI_BASE_CLASS_BRIDGE)
-
 static int __init eeh_setup(char *str)
 {
        if (!strcmp(str, "off"))