projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e17866d
)
powerpc/eeh: remove unused macro IS_BRIDGE
author
Wei Yang
<weiyang@linux.vnet.ibm.com>
Mon, 27 Apr 2015 01:25:12 +0000
(09:25 +0800)
committer
Michael 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
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/kernel/eeh.c
b/arch/powerpc/kernel/eeh.c
index 04b5d94973dc3ecc9ac97d9eafee9a9bcc043347..23e0aa7736434d6f8dd7a828ee89cdb87d548537 100644
(file)
--- 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"))