projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
924954f
)
Staging: i2o: Remove unnecessary braces
author
aybuke ozdemir
<aybuke.147@gmail.com>
Wed, 25 Feb 2015 22:10:21 +0000
(
00:10
+0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 26 Feb 2015 20:23:58 +0000
(12:23 -0800)
Brackets were removed from the expression that containing single
statement. Removed following checkpatch.pl warnings:
WARNING: braces {} are not necessary for single statement blocks
Signed-off-by: aybuke ozdemir <aybuke.147@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/i2o/device.c
patch
|
blob
|
history
diff --git
a/drivers/staging/i2o/device.c
b/drivers/staging/i2o/device.c
index 162a88762ff1805c0aef72033885833794c798fa..e47496cb0ac21864afcfcf9476a848a2ee292453 100644
(file)
--- a/
drivers/staging/i2o/device.c
+++ b/
drivers/staging/i2o/device.c
@@
-565,9
+565,8
@@
int i2o_parm_table_get(struct i2o_device *dev, int oper, int group,
size += 4 - size % 4;
opblk = kmalloc(size, GFP_KERNEL);
- if (opblk == NULL)
{
+ if (opblk == NULL)
return -ENOMEM;
- }
opblk[0] = 1; /* operation count */
opblk[1] = 0; /* pad */