Skip to contentSkip to conversation

Staging: lustre: fix a brace coding style issue in fsfilt.c

PATCH New Jon Bernard 1 participant 1 message Sep 13, 2013 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 drivers/staging/lustre/lustre/lvfs/fsfilt.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/lustre/lustre/lvfs/fsfilt.c +1 -2
index e86df73..efc1e52 100644
@@ -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;
 }
Signature · 1 line
1.8.4