Skip to contentSkip to conversation

staging: rts5208: Unnecessary parantheses around chip->sd_card

PATCH In review Manav Batra 2 participants 2 messages Apr 29, 2016 – Apr 30, 2016 1 message not in the archive Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: rts5208: Unnecessary parantheses around chip->sd_card

---
 drivers/staging/rts5208/sd.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/staging/rts5208/sd.c +3 -3
index 87d6976..fbd2f90 100644
@@ -56,21 +56,21 @@ static u16 REG_SD_DCMPS1_CTL;
 
 static inline void sd_set_err_code(struct rtsx_chip *chip, u8 err_code)
 {
-	struct sd_info *sd_card = &(chip->sd_card);
+	struct sd_info *sd_card = &chip->sd_card;
 
 	sd_card->err_code |= err_code;
 }
 
 static inline void sd_clr_err_code(struct rtsx_chip *chip)
 {
-	struct sd_info *sd_card = &(chip->sd_card);
+	struct sd_info *sd_card = &chip->sd_card;
 
 	sd_card->err_code = 0;
 }
 
 static inline int sd_check_err_code(struct rtsx_chip *chip, u8 err_code)
 {
-	struct sd_info *sd_card = &(chip->sd_card);
+	struct sd_info *sd_card = &chip->sd_card;
 
 	return sd_card->err_code & err_code;
 }
Signature · 1 line
1.9.1

A message that is not in the archive (sent off-list or not yet received): CAEXvAoYvEzkPkqgFXQPg9SvmWfhGvxDWSJRXy0iQAY6EQqs-8A@mail.gmail.com

maintainer
#2 lore raw
Quoted 5 lines · Manav Batra

Removes unnecessary parantheses around chip->sd_card

---
 drivers/staging/rts5208/sd.c | 6 +++---

 1 file changed, 3 insertions(+), 3 deletions(-)

HTML patches do not work, sorry :(

Also, put a blank line between your changelog text and the signed-off-by line.

thanks,

greg k-h