forked from Minki/linux
seqlocks: trivial remove weird whitespace
Signed-off-by: Daniel Walker <dwalker@mvista.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
b928ed5618
commit
20f09390b2
@ -61,10 +61,10 @@ static inline void write_seqlock(seqlock_t *sl)
|
||||
{
|
||||
spin_lock(&sl->lock);
|
||||
++sl->sequence;
|
||||
smp_wmb();
|
||||
}
|
||||
smp_wmb();
|
||||
}
|
||||
|
||||
static inline void write_sequnlock(seqlock_t *sl)
|
||||
static inline void write_sequnlock(seqlock_t *sl)
|
||||
{
|
||||
smp_wmb();
|
||||
sl->sequence++;
|
||||
@ -77,7 +77,7 @@ static inline int write_tryseqlock(seqlock_t *sl)
|
||||
|
||||
if (ret) {
|
||||
++sl->sequence;
|
||||
smp_wmb();
|
||||
smp_wmb();
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user