mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-04 16:25:34 +00:00
s390/claw: remove "eieio" calls
If the code really depends on ordering it's already racy. The additional memory barriers (eieio) don't help with that. If the code is not racy the memory barriers also aren't needed. In any case, just remove them. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
parent
0cd2f6201c
commit
521674e4ff
1 changed files with 0 additions and 3 deletions
|
@ -136,7 +136,6 @@ static inline void
|
|||
claw_set_busy(struct net_device *dev)
|
||||
{
|
||||
((struct claw_privbk *)dev->ml_priv)->tbusy = 1;
|
||||
eieio();
|
||||
}
|
||||
|
||||
static inline void
|
||||
|
@ -144,13 +143,11 @@ claw_clear_busy(struct net_device *dev)
|
|||
{
|
||||
clear_bit(0, &(((struct claw_privbk *) dev->ml_priv)->tbusy));
|
||||
netif_wake_queue(dev);
|
||||
eieio();
|
||||
}
|
||||
|
||||
static inline int
|
||||
claw_check_busy(struct net_device *dev)
|
||||
{
|
||||
eieio();
|
||||
return ((struct claw_privbk *) dev->ml_priv)->tbusy;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue