From: Jon Bernard Date: Fri, 13 Sep 2013 00:04:22 +0000 (-0400) Subject: Staging: lustre: fix a brace coding style issue in fsfilt.c X-Git-Tag: v3.13-rc1~170^2~703 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=497aaa5cd877175b34b601b4e7e721b31348fbda;p=kernel%2Fkernel-generic.git Staging: lustre: fix a brace coding style issue in fsfilt.c 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/lustre/lustre/lvfs/fsfilt.c b/drivers/staging/lustre/lustre/lvfs/fsfilt.c index 1f38daf..0d6ed69 100644 --- a/drivers/staging/lustre/lustre/lvfs/fsfilt.c +++ b/drivers/staging/lustre/lustre/lvfs/fsfilt.c @@ -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; }