Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1499264

[PATCH 11/45] staging: rts5208: Unnecessary parentheses cleanup

From Wayne Porter <wporter82@gmail.com>
Newsgroups linux.kernel
Subject [PATCH 11/45] staging: rts5208: Unnecessary parentheses cleanup
Date 2016-10-12 00:20 +0200
Message-ID <srdyW-415-19@gated-at.bofh.it> (permalink)
References <srdfz-3AM-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Remove parentheses found by checkpatch

Signed-off-by: Wayne Porter <wporter82@gmail.com>
---
 drivers/staging/rts5208/rtsx_sys.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/rts5208/rtsx_sys.h b/drivers/staging/rts5208/rtsx_sys.h
index f49bed9..817700c 100644
--- a/drivers/staging/rts5208/rtsx_sys.h
+++ b/drivers/staging/rts5208/rtsx_sys.h
@@ -32,9 +32,9 @@ static inline void rtsx_exclusive_enter_ss(struct rtsx_chip *chip)
 {
 	struct rtsx_dev *dev = chip->rtsx;
 
-	spin_lock(&(dev->reg_lock));
+	spin_lock(&dev->reg_lock);
 	rtsx_enter_ss(chip);
-	spin_unlock(&(dev->reg_lock));
+	spin_unlock(&dev->reg_lock);
 }
 
 static inline void rtsx_reset_detected_cards(struct rtsx_chip *chip, int flag)
-- 
2.1.4

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 00/45] staging: rts5208: Checkpatch.pl cleanup Wayne Porter <wporter82@gmail.com> - 2016-10-12 00:20 +0200
  [PATCH 11/45] staging: rts5208: Unnecessary parentheses cleanup Wayne Porter <wporter82@gmail.com> - 2016-10-12 00:20 +0200
  [PATCH 08/45] staging: rts5208: sd.c: Fix logical continuations Wayne Porter <wporter82@gmail.com> - 2016-10-12 00:20 +0200
  [PATCH 01/45] staging: rts5208: spi.c: Remove unnecessary parenthesis Wayne Porter <wporter82@gmail.com> - 2016-10-12 00:20 +0200
  [PATCH 12/45] staging: rts5208: Alignment fix Wayne Porter <wporter82@gmail.com> - 2016-10-12 00:20 +0200
  [PATCH 10/45] staging: rts5208: Alignment fixes Wayne Porter <wporter82@gmail.com> - 2016-10-12 00:20 +0200
  [PATCH 13/45] staging: rts5208: Fix typo in function name Wayne Porter <wporter82@gmail.com> - 2016-10-12 00:20 +0200
  [PATCH 02/45] staging: rts5208: spi.c: Alignment fixes Wayne Porter <wporter82@gmail.com> - 2016-10-12 00:20 +0200
  [PATCH 15/45] staging: rts5208: Remove parentheses Wayne Porter <wporter82@gmail.com> - 2016-10-12 00:20 +0200
  [PATCH 04/45] staging: rts5208: sd.c: Remove unnecessary parentheses Wayne Porter <wporter82@gmail.com> - 2016-10-12 00:20 +0200

csiph-web