OSDN Git Service

Staging: lustre: linux-module: remove unnecessary spaces
authorJessica Yu <jyu@cowsay.org>
Mon, 28 Jul 2014 13:33:13 +0000 (06:33 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Jul 2014 23:56:42 +0000 (16:56 -0700)
Remove extraneous space after open paren and before close paren.

Signed-off-by: Jessica Yu <jyu@cowsay.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/libcfs/linux/linux-module.c

index b0c00a9..abd7e6f 100644 (file)
@@ -140,9 +140,9 @@ static long libcfs_ioctl(struct file *file,
        if (!capable(CAP_SYS_ADMIN))
                return -EACCES;
 
-       if ( _IOC_TYPE(cmd) != IOC_LIBCFS_TYPE ||
+       if (_IOC_TYPE(cmd) != IOC_LIBCFS_TYPE ||
             _IOC_NR(cmd) < IOC_LIBCFS_MIN_NR  ||
-            _IOC_NR(cmd) > IOC_LIBCFS_MAX_NR ) {
+            _IOC_NR(cmd) > IOC_LIBCFS_MAX_NR) {
                CDEBUG(D_IOCTL, "invalid ioctl ( type %d, nr %d, size %d )\n",
                       _IOC_TYPE(cmd), _IOC_NR(cmd), _IOC_SIZE(cmd));
                return (-EINVAL);