* [PATCH v2 2/2] Staging: lustre: Fix return does not need parantheses
@ 2014-01-11 10:28 Monam Agarwal
0 siblings, 0 replies; only message in thread
From: Monam Agarwal @ 2014-01-11 10:28 UTC (permalink / raw)
To: gregkh, rashika.kheria, peter.p.waskiewicz.jr, monamagarwal123,
andreas.dilger, devel, linux-kernel
This patch fixes the following checkpatch.pl warning in
lustre/ldlm/interval_tree.c
ERROR: return is not a function, parentheses are not required
Signed-off-by: Monam Agarwal <monamagarwal123@gmail.com>
---
drivers/staging/lustre/lustre/ldlm/interval_tree.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/lustre/lustre/ldlm/interval_tree.c b/drivers/staging/lustre/lustre/ldlm/interval_tree.c
index 7c956de..fb64aea 100644
--- a/drivers/staging/lustre/lustre/ldlm/interval_tree.c
+++ b/drivers/staging/lustre/lustre/ldlm/interval_tree.c
@@ -585,8 +585,8 @@ EXPORT_SYMBOL(interval_erase);
static inline int interval_may_overlap(struct interval_node *node,
struct interval_node_extent *ext)
{
- return (ext->start <= node->in_max_high &&
- ext->end >= interval_low(node));
+ return ext->start <= node->in_max_high &&
+ ext->end >= interval_low(node);
}
/*
--
1.7.9.5
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-01-11 10:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-11 10:28 [PATCH v2 2/2] Staging: lustre: Fix return does not need parantheses Monam Agarwal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome