[PATCH] Staging: lustre: fld: removed parentheses from return statement.

Gary Rookard garyrookard at gmail.com
Thu Mar 13 18:21:25 UTC 2014


I removed the useless parentheses from a return statement for a 
warning fix. Return not a function.

Signed-off-by: Gary Alan Rookard <garyrookard at gmail.com>

---
On branch staging-next
 drivers/staging/lustre/lustre/fld/fld_request.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/lustre/lustre/fld/fld_request.c b/drivers/staging/lustre/lustre/fld/fld_request.c
index 4474537..0d2a9ab 100644
--- a/drivers/staging/lustre/lustre/fld/fld_request.c
+++ b/drivers/staging/lustre/lustre/fld/fld_request.c
@@ -330,7 +330,7 @@ EXPORT_SYMBOL(fld_client_proc_fini);
 
 static inline int hash_is_sane(int hash)
 {
-	return (hash >= 0 && hash < ARRAY_SIZE(fld_hash));
+	return hash >= 0 && hash < ARRAY_SIZE(fld_hash);
 }
 
 int fld_client_init(struct lu_client_fld *fld,
-- 
1.9.0



More information about the devel mailing list