summaryrefslogtreecommitdiffstats
path: root/drivers/staging/i2o
diff options
context:
space:
mode:
authoraybuke ozdemir <aybuke.147@gmail.com>2015-02-26 00:10:21 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-02-26 12:23:58 -0800
commit1e0e76508c55eac8475735b1ae79d41288edda94 (patch)
tree442d2cfdcce414442d75bb94f2c99ab0c32c24fa /drivers/staging/i2o
parent924954f12448249756ccbc45ba1e5e53bf9cfaee (diff)
downloadop-kernel-dev-1e0e76508c55eac8475735b1ae79d41288edda94.zip
op-kernel-dev-1e0e76508c55eac8475735b1ae79d41288edda94.tar.gz
Staging: i2o: Remove unnecessary braces
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>
Diffstat (limited to 'drivers/staging/i2o')
-rw-r--r--drivers/staging/i2o/device.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/i2o/device.c b/drivers/staging/i2o/device.c
index 162a887..e47496c 100644
--- 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 */
OpenPOWER on IntegriCloud