Root/target/linux/ar71xx/patches-3.2/004-MIPS-ath79-Remove-superfluous-parentheses.patch

1From 44f70a7cd3c0a8481877174a0f12b013c5667933 Mon Sep 17 00:00:00 2001
2From: Gabor Juhos <juhosg@openwrt.org>
3Date: Mon, 20 Jun 2011 21:26:01 +0200
4Subject: [PATCH 04/27] MIPS: ath79: Remove superfluous parentheses
5
6Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
7Cc: linux-mips@linux-mips.org
8Cc: Kathy Giori <kgiori@qca.qualcomm.com>
9Cc: "Luis R. Rodriguez" <rodrigue@qca.qualcomm.com>
10Patchwork: https://patchwork.linux-mips.org/patch/2519/
11Signed-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:
41

Archive Download this file



interactive