Commit 197cb405 authored by Bhumika Goyal's avatar Bhumika Goyal Committed by Greg Kroah-Hartman

Staging:lustre:obdclass:linux:remove unnecessary braces

Fixed 'braces {} are not necessary for single statement blocks'
checkpatch.pl warning.
Signed-off-by: default avatarBhumika Goyal <bhumirks@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 587cb022
...@@ -144,9 +144,8 @@ int obd_ioctl_getdata(char **buf, int *len, void __user *arg) ...@@ -144,9 +144,8 @@ int obd_ioctl_getdata(char **buf, int *len, void __user *arg)
offset += cfs_size_round(data->ioc_inllen3); offset += cfs_size_round(data->ioc_inllen3);
} }
if (data->ioc_inllen4) { if (data->ioc_inllen4)
data->ioc_inlbuf4 = &data->ioc_bulk[0] + offset; data->ioc_inlbuf4 = &data->ioc_bulk[0] + offset;
}
return 0; return 0;
...@@ -250,9 +249,8 @@ static ssize_t health_show(struct kobject *kobj, struct attribute *attr, ...@@ -250,9 +249,8 @@ static ssize_t health_show(struct kobject *kobj, struct attribute *attr,
class_incref(obd, __func__, current); class_incref(obd, __func__, current);
read_unlock(&obd_dev_lock); read_unlock(&obd_dev_lock);
if (obd_health_check(NULL, obd)) { if (obd_health_check(NULL, obd))
healthy = false; healthy = false;
}
class_decref(obd, __func__, current); class_decref(obd, __func__, current);
read_lock(&obd_dev_lock); read_lock(&obd_dev_lock);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment