[PATCH] clean up inline static vs static inline
`gcc -W' likes to complain if the static keyword is not at the beginning of the declaration. This patch fixes all remaining occurrences of "inline static" up with "static inline" in the entire kernel tree (140 occurrences in 47 files). While making this change I came across a few lines with trailing whitespace that I also fixed up, I have also added or removed a blank line or two here and there, but there are no functional changes in the patch. Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
@@ -1557,7 +1557,7 @@ static int awacs_sleep_notify(struct pmu_sleep_notifier *self, int when)
|
||||
/* All the burgundy functions: */
|
||||
|
||||
/* Waits for busy flag to clear */
|
||||
inline static void
|
||||
static inline void
|
||||
awacs_burgundy_busy_wait(void)
|
||||
{
|
||||
int count = 50; /* > 2 samples at 44k1 */
|
||||
@@ -1565,7 +1565,7 @@ awacs_burgundy_busy_wait(void)
|
||||
udelay(1) ;
|
||||
}
|
||||
|
||||
inline static void
|
||||
static inline void
|
||||
awacs_burgundy_extend_wait(void)
|
||||
{
|
||||
int count = 50 ; /* > 2 samples at 44k1 */
|
||||
|
Reference in New Issue
Block a user