Staging: lustre: Fix checkpatch error: Unnecessary comparison
authorTina Johnson <tinajohnson.1234@gmail.com>
Wed, 8 Oct 2014 06:50:23 +0000 (12:20 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Oct 2014 02:29:17 +0000 (10:29 +0800)
Removed unnecessary comparison against NULL to remove following
checkpatch error:

ERROR: spaces required around that '!='

Signed-off-by: Tina Johnson <tinajohnson.1234@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/llite/llite_lib.c

index e45070d..0311b96 100644 (file)
@@ -1122,7 +1122,7 @@ void ll_put_super(struct super_block *sb)
        }
 
        next = 0;
-       while ((obd = class_devices_in_group(&sbi->ll_sb_uuid, &next)) !=NULL)
+       while ((obd = class_devices_in_group(&sbi->ll_sb_uuid, &next)))
                class_manual_cleanup(obd);
 
        if (sbi->ll_flags & LL_SBI_VERBOSE)