generic: ar8216: use ar8216_read_port_link to get the CPU port link parameters
[openwrt.git] / target / linux / ar71xx / patches-3.3 / 109-MIPS-ath79-remove-superfluous-alignment-checks-from-.patch
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
5
6 The alignment of the 'where' parameters are checked
7 in the core PCI code already.
8
9 Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
10
11 v2: - no changes
12 ---
13 arch/mips/pci/pci-ar724x.c | 6 ------
14 1 files changed, 0 insertions(+), 6 deletions(-)
15
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
19 if (devfn)
20 return PCIBIOS_DEVICE_NOT_FOUND;
21
22 - if (where & (size - 1))
23 - return PCIBIOS_BAD_REGISTER_NUMBER;
24 -
25 base = ar724x_pci_devcfg_base;
26
27 spin_lock_irqsave(&ar724x_pci_lock, flags);
28 @@ -73,9 +70,6 @@ static int ar724x_pci_write(struct pci_b
29 if (devfn)
30 return PCIBIOS_DEVICE_NOT_FOUND;
31
32 - if (where & (size - 1))
33 - return PCIBIOS_BAD_REGISTER_NUMBER;
34 -
35 base = ar724x_pci_devcfg_base;
36
37 spin_lock_irqsave(&ar724x_pci_lock, flags);
This page took 0.046628 seconds and 5 git commands to generate.