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>
This commit is contained in:
aybuke ozdemir 2015-02-26 00:10:21 +02:00 коммит произвёл Greg Kroah-Hartman
Родитель 924954f124
Коммит 1e0e76508c
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -565,9 +565,8 @@ int i2o_parm_table_get(struct i2o_device *dev, int oper, int group,
size += 4 - size % 4; size += 4 - size % 4;
opblk = kmalloc(size, GFP_KERNEL); opblk = kmalloc(size, GFP_KERNEL);
if (opblk == NULL) { if (opblk == NULL)
return -ENOMEM; return -ENOMEM;
}
opblk[0] = 1; /* operation count */ opblk[0] = 1; /* operation count */
opblk[1] = 0; /* pad */ opblk[1] = 0; /* pad */