Staging: lustre: fix a brace coding style issue in fsfilt.c
authorJon Bernard <jbernard@tuxion.com>
Fri, 13 Sep 2013 00:04:22 +0000 (20:04 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Sep 2013 14:47:46 +0000 (07:47 -0700)
This is a patch to the fsfilt.c file that fixes up a brace warning found by the
checkpatch.pl tool.

Signed-off-by: Jon Bernard <jbernard@tuxion.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/lvfs/fsfilt.c

index 1f38dafb0dc205a28d4435376e373ce2acde744c..0d6ed69ddb223af36efff72419abad7bf6a91038 100644 (file)
@@ -50,9 +50,8 @@ static struct fsfilt_operations *fsfilt_search_type(const char *type)
 
        list_for_each(p, &fsfilt_types) {
                found = list_entry(p, struct fsfilt_operations, fs_list);
-               if (!strcmp(found->fs_type, type)) {
+               if (!strcmp(found->fs_type, type))
                        return found;
-               }
        }
        return NULL;
 }