Staging: lustre: Code Indentation
diff mbox series

Message ID 1438618549-907-1-git-send-email-shraddha.6596@gmail.com
State New, archived
Headers show
Series
  • Staging: lustre: Code Indentation
Related show

Commit Message

Shraddha Barke Aug. 3, 2015, 4:15 p.m. UTC
Correct indentation issues according to checkpatch.pl :

WARNING: suspect code indent for conditional statements

Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com>
---
 drivers/staging/lustre/lustre/llite/rw.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch
diff mbox series

diff --git a/drivers/staging/lustre/lustre/llite/rw.c b/drivers/staging/lustre/lustre/llite/rw.c
index 991d20c..85e5d48 100644
--- a/drivers/staging/lustre/lustre/llite/rw.c
+++ b/drivers/staging/lustre/lustre/llite/rw.c
@@ -383,9 +383,9 @@  static int index_in_window(unsigned long index, unsigned long point,
 	unsigned long start = point - before, end = point + after;
 
 	if (start > point)
-	       start = 0;
+		start = 0;
 	if (end < point)
-	       end = ~0;
+		end = ~0;
 
 	return start <= index && index <= end;
 }