summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/include
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2012-02-23 20:18:57 -0700
committerBjorn Helgaas <bhelgaas@google.com>2012-02-23 20:18:57 -0700
commite5b3684181ed91afa05e610af1c8328b7cd7871b (patch)
treed7cd45830f42de93204bcbf7bb556efe16cd0dce /arch/microblaze/include
parenta4fab0449eb2213e426bf210126fa0f1129ca9a3 (diff)
downloadblackbird-op-linux-e5b3684181ed91afa05e610af1c8328b7cd7871b.tar.gz
blackbird-op-linux-e5b3684181ed91afa05e610af1c8328b7cd7871b.zip
microblaze/PCI: remove unused pci_flags
pci_flags is initialized to zero and never modified (I think this was just copied from powerpc). Therefore, "(pci_flags & XX)" is always false and "!(pci_flags & XX)" is always true, and we can remove all references to pci_flags. CC: Michal Simek <monstr@monstr.eu> CC: microblaze-uclinux@itee.uq.edu.au Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'arch/microblaze/include')
-rw-r--r--arch/microblaze/include/asm/pci-bridge.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/microblaze/include/asm/pci-bridge.h b/arch/microblaze/include/asm/pci-bridge.h
index e9834b2991d0..cb5d39794800 100644
--- a/arch/microblaze/include/asm/pci-bridge.h
+++ b/arch/microblaze/include/asm/pci-bridge.h
@@ -10,7 +10,6 @@
#include <linux/pci.h>
#include <linux/list.h>
#include <linux/ioport.h>
-#include <asm-generic/pci-bridge.h>
struct device_node;
OpenPOWER on IntegriCloud