Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1390766 > unrolled thread
| Started by | Manav Batra <batmanav10@gmail.com> |
|---|---|
| First post | 2016-04-29 07:30 +0200 |
| Last post | 2016-04-30 02:50 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] staging: rts5208: Unnecessary parantheses around chip->sd_card Manav Batra <batmanav10@gmail.com> - 2016-04-29 07:30 +0200
Re: [PATCH] staging: rts5208: Unnecessary parantheses around chip->sd_card Greg KH <gregkh@linuxfoundation.org> - 2016-04-30 02:50 +0200
| From | Manav Batra <batmanav10@gmail.com> |
|---|---|
| Date | 2016-04-29 07:30 +0200 |
| Subject | [PATCH] staging: rts5208: Unnecessary parantheses around chip->sd_card |
| Message-ID | <rt9a2-B3-1@gated-at.bofh.it> |
Signed-off-by: Manav Batra <batmanav10@gmail.com>
---
drivers/staging/rts5208/sd.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/rts5208/sd.c b/drivers/staging/rts5208/sd.c
index 87d6976..fbd2f90 100644
--- a/drivers/staging/rts5208/sd.c
+++ b/drivers/staging/rts5208/sd.c
@@ -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;
}
--
1.9.1
[toc] | [next] | [standalone]
| From | Greg KH <gregkh@linuxfoundation.org> |
|---|---|
| Date | 2016-04-30 02:50 +0200 |
| Message-ID | <rtrgC-7a9-5@gated-at.bofh.it> |
| In reply to | #1390766 |
On Fri, Apr 29, 2016 at 11:15:27AM +0530, Manav Batra wrote: > Removes unnecessary parantheses around chip->sd_card > Signed-off-by: Manav Batra <batmanav10@gmail.com> > --- > 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
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web