diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2012-02-24 04:18:57 +0100 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2012-02-24 04:18:57 +0100 |
commit | e5b3684181ed91afa05e610af1c8328b7cd7871b (patch) | |
tree | d7cd45830f42de93204bcbf7bb556efe16cd0dce /arch/microblaze/include | |
parent | arm/PCI: use pci_flags PCI_PROBE_ONLY instead of arm-specific flag (diff) | |
download | linux-e5b3684181ed91afa05e610af1c8328b7cd7871b.tar.xz 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.h | 1 |
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; |