Skip to content

Commit

Permalink
powerpc/eeh: remove unused macro IS_BRIDGE
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wei Yang authored and Michael Ellerman committed May 13, 2015
1 parent e17866d commit f77ceb7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/powerpc/kernel/eeh.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit f77ceb7

Please sign in to comment.