Message ID | 1425871052-13118-5-git-send-email-weiyang@linux.vnet.ibm.com (mailing list archive) |
---|---|
State | Accepted |
Commit | f77ceb717d0955f1df20601683ea55675101bab6 |
Delegated to: | Benjamin Herrenschmidt |
Headers | show |
On Mon, Mar 09, 2015 at 11:17:32AM +0800, Wei Yang wrote: >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> Thanks, Gavin >--- > arch/powerpc/kernel/eeh.c | 2 -- > 1 file changed, 2 deletions(-) > >diff --git a/arch/powerpc/kernel/eeh.c b/arch/powerpc/kernel/eeh.c >index 3b2252e..60df70c 100644 >--- a/arch/powerpc/kernel/eeh.c >+++ b/arch/powerpc/kernel/eeh.c >@@ -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")) >-- >1.7.9.5 >
diff --git a/arch/powerpc/kernel/eeh.c b/arch/powerpc/kernel/eeh.c index 3b2252e..60df70c 100644 --- a/arch/powerpc/kernel/eeh.c +++ b/arch/powerpc/kernel/eeh.c @@ -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"))
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> --- arch/powerpc/kernel/eeh.c | 2 -- 1 file changed, 2 deletions(-)