Skip to content

Commit c5ce2c4

Browse files
committed
locking/spinlock: add tabs to reduce patch size
This also makes it more consistent to the other patch we are sending. Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
1 parent 3dd99eb commit c5ce2c4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

include/linux/spinlock.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -338,11 +338,11 @@ static inline void __spin_lock_init(spinlock_t *lock, const char *name,
338338
__raw_spin_lock_init(spinlock_check(lock), name, key, LD_WAIT_CONFIG);
339339
}
340340

341-
# define spin_lock_init(lock) \
342-
do { \
343-
static struct lock_class_key __key; \
344-
\
345-
__spin_lock_init(lock, #lock, &__key); \
341+
# define spin_lock_init(lock) \
342+
do { \
343+
static struct lock_class_key __key; \
344+
\
345+
__spin_lock_init(lock, #lock, &__key); \
346346
} while (0)
347347

348348
#else

0 commit comments

Comments
 (0)