Skip to contentSkip to conversation

Staging: rts5139: fix parantheses coding style issue in ms.c

PATCH New Preetam D'Souza 1 participant 1 message Dec 14, 2013 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: rts5139: fix parantheses coding style issue in ms.c

This patch fixes an unnecessary return statement parantheses error found in ms.c by the checkpatch.pl tool.

---
 drivers/staging/rts5139/ms.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rts5139/ms.c +1 -1
index a27f7e2..9253f6a 100644
@@ -48,7 +48,7 @@ static inline int ms_check_err_code(struct rts51x_chip *chip, u8 err_code)
 {
 	struct ms_info *ms_card = &(chip->ms_card);
 
-	return (ms_card->err_code == err_code);
+	return ms_card->err_code == err_code;
 }
 
 static int ms_parse_err_code(struct rts51x_chip *chip)
Signature · 1 line
1.7.10.4