projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
211ccb3
)
staging/rts_pstor: remove braces {} in sd.c (sd_check_switch)
author
Toshiaki Yamane
<yamanetoshi@gmail.com>
Fri, 7 Sep 2012 04:28:44 +0000
(13:28 +0900)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 10 Sep 2012 22:36:04 +0000
(15:36 -0700)
fixed below checkpatch warnings.
-WARNING: braces {} are not necessary for single statement blocks
Signed-off-by: Toshiaki Yamane <yamanetoshi@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rts_pstor/sd.c
patch
|
blob
|
history
diff --git
a/drivers/staging/rts_pstor/sd.c
b/drivers/staging/rts_pstor/sd.c
index 36b7f49d2027c98d363cf9953313d282576dbb63..c90deb6bafb8dc8761b852457bfbcc507569b139 100644
(file)
--- a/
drivers/staging/rts_pstor/sd.c
+++ b/
drivers/staging/rts_pstor/sd.c
@@
-1208,9
+1208,8
@@
static int sd_check_switch(struct rtsx_chip *chip,
wait_timeout(20);
}
- if (!switch_good)
{
+ if (!switch_good)
TRACE_RET(chip, STATUS_FAIL);
- }
return STATUS_SUCCESS;
}