]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
jiffies: Remove the extra indentation level
authorThomas Gleixner <tglx@linutronix.de>
Tue, 19 May 2015 15:14:51 +0000 (17:14 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 19 May 2015 15:17:34 +0000 (17:17 +0200)
Somehow I missed to clean that up when applying the patches. Fix it up
now.

Reported-by: Joe Perches <joe@perches.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Nicholas Mc Guire <der.herr@hofr.at>
include/linux/jiffies.h

index 5e75af6cf1bc1d8e74f2074817b0293334bf8174..3bde5eb8568bbbddfd453442c09980620f0e0ac1 100644 (file)
@@ -298,7 +298,7 @@ extern unsigned long __msecs_to_jiffies(const unsigned int m);
  */
 static inline unsigned long _msecs_to_jiffies(const unsigned int m)
 {
-               return (m + (MSEC_PER_SEC / HZ) - 1) / (MSEC_PER_SEC / HZ);
+       return (m + (MSEC_PER_SEC / HZ) - 1) / (MSEC_PER_SEC / HZ);
 }
 #elif HZ > MSEC_PER_SEC && !(HZ % MSEC_PER_SEC)
 /*
@@ -309,9 +309,9 @@ static inline unsigned long _msecs_to_jiffies(const unsigned int m)
  */
 static inline unsigned long _msecs_to_jiffies(const unsigned int m)
 {
-               if (m > jiffies_to_msecs(MAX_JIFFY_OFFSET))
-                       return MAX_JIFFY_OFFSET;
-               return m * (HZ / MSEC_PER_SEC);
+       if (m > jiffies_to_msecs(MAX_JIFFY_OFFSET))
+               return MAX_JIFFY_OFFSET;
+       return m * (HZ / MSEC_PER_SEC);
 }
 #else
 /*
@@ -320,11 +320,10 @@ static inline unsigned long _msecs_to_jiffies(const unsigned int m)
  */
 static inline unsigned long _msecs_to_jiffies(const unsigned int m)
 {
-               if (HZ > MSEC_PER_SEC && m > jiffies_to_msecs(MAX_JIFFY_OFFSET))
-                       return MAX_JIFFY_OFFSET;
+       if (HZ > MSEC_PER_SEC && m > jiffies_to_msecs(MAX_JIFFY_OFFSET))
+               return MAX_JIFFY_OFFSET;
 
-               return (MSEC_TO_HZ_MUL32 * m + MSEC_TO_HZ_ADJ32)
-                       >> MSEC_TO_HZ_SHR32;
+       return (MSEC_TO_HZ_MUL32 * m + MSEC_TO_HZ_ADJ32) >> MSEC_TO_HZ_SHR32;
 }
 #endif
 /**