diff options
author | Janani Ravichandran <janani.rvchndrn@gmail.com> | 2016-02-13 23:10:29 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-14 16:31:44 -0800 |
commit | 01fe818cc3409c75bc15a5695600b43f4b354b62 (patch) | |
tree | 184875676407bb25c0b2c50791dad49c7e5414a6 | |
parent | f7b7f87de753080cd6966c99fb20588258487fcf (diff) | |
download | linux-01fe818cc3409c75bc15a5695600b43f4b354b62.tar.bz2 |
staging: wilc1000: Eliminate extraneous braces
Get rid of extraneous braces enclosing single statement blocks.
Signed-off-by: Janani Ravichandran <janani.rvchndrn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/wilc1000/wilc_debugfs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/wilc1000/wilc_debugfs.c b/drivers/staging/wilc1000/wilc_debugfs.c index 6a39b16121d4..da7ec8bb0dd4 100644 --- a/drivers/staging/wilc1000/wilc_debugfs.c +++ b/drivers/staging/wilc1000/wilc_debugfs.c @@ -98,9 +98,8 @@ static ssize_t wilc_debug_region_write(struct file *filp, const char __user *buf if (count > sizeof(buffer)) return -EINVAL; - if (copy_from_user(buffer, buf, count)) { + if (copy_from_user(buffer, buf, count)) return -EFAULT; - } flag = buffer[0] - '0'; |