ar71xx: preset WLAN LED config on MZK-W300NH
[openwrt.git] / target / linux / ar71xx / patches-3.2 / 004-MIPS-ath79-Remove-superfluous-parentheses.patch
1 From 44f70a7cd3c0a8481877174a0f12b013c5667933 Mon Sep 17 00:00:00 2001
2 From: Gabor Juhos <juhosg@openwrt.org>
3 Date: Mon, 20 Jun 2011 21:26:01 +0200
4 Subject: [PATCH 04/27] MIPS: ath79: Remove superfluous parentheses
5
6 Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
7 Cc: linux-mips@linux-mips.org
8 Cc: Kathy Giori <kgiori@qca.qualcomm.com>
9 Cc: "Luis R. Rodriguez" <rodrigue@qca.qualcomm.com>
10 Patchwork: https://patchwork.linux-mips.org/patch/2519/
11 Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
12 ---
13 arch/mips/ath79/setup.c | 6 +++---
14 1 files changed, 3 insertions(+), 3 deletions(-)
15
16 --- a/arch/mips/ath79/setup.c
17 +++ b/arch/mips/ath79/setup.c
18 @@ -101,19 +101,19 @@ static void __init ath79_detect_sys_type
19 case REV_ID_MAJOR_AR7240:
20 ath79_soc = ATH79_SOC_AR7240;
21 chip = "7240";
22 - rev = (id & AR724X_REV_ID_REVISION_MASK);
23 + rev = id & AR724X_REV_ID_REVISION_MASK;
24 break;
25
26 case REV_ID_MAJOR_AR7241:
27 ath79_soc = ATH79_SOC_AR7241;
28 chip = "7241";
29 - rev = (id & AR724X_REV_ID_REVISION_MASK);
30 + rev = id & AR724X_REV_ID_REVISION_MASK;
31 break;
32
33 case REV_ID_MAJOR_AR7242:
34 ath79_soc = ATH79_SOC_AR7242;
35 chip = "7242";
36 - rev = (id & AR724X_REV_ID_REVISION_MASK);
37 + rev = id & AR724X_REV_ID_REVISION_MASK;
38 break;
39
40 case REV_ID_MAJOR_AR913X:
This page took 0.045653 seconds and 5 git commands to generate.