1 From 744ffdd4e90cd6671f46eadf9d7cf55b07618d73 Mon Sep 17 00:00:00 2001
2 From: Gabor Juhos <juhosg@openwrt.org>
3 Date: Fri, 18 Nov 2011 21:37:17 +0100
4 Subject: [PATCH 09/35] MIPS: ath79: remove superfluous alignment checks from pci-ar724x.c
6 The alignment of the 'where' parameters are checked
7 in the core PCI code already.
9 Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
13 arch/mips/pci/pci-ar724x.c | 6 ------
14 1 files changed, 0 insertions(+), 6 deletions(-)
16 --- a/arch/mips/pci/pci-ar724x.c
17 +++ b/arch/mips/pci/pci-ar724x.c
18 @@ -28,9 +28,6 @@ static int ar724x_pci_read(struct pci_bu
20 return PCIBIOS_DEVICE_NOT_FOUND;
22 - if (where & (size - 1))
23 - return PCIBIOS_BAD_REGISTER_NUMBER;
25 base = ar724x_pci_devcfg_base;
27 spin_lock_irqsave(&ar724x_pci_lock, flags);
28 @@ -73,9 +70,6 @@ static int ar724x_pci_write(struct pci_b
30 return PCIBIOS_DEVICE_NOT_FOUND;
32 - if (where & (size - 1))
33 - return PCIBIOS_BAD_REGISTER_NUMBER;
35 base = ar724x_pci_devcfg_base;
37 spin_lock_irqsave(&ar724x_pci_lock, flags);