tun: remove unnecessary memory barrier
authorTimur Celik <mail@timurcelik.de>
Mon, 25 Feb 2019 20:13:13 +0000 (21:13 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Feb 2019 22:27:21 +0000 (14:27 -0800)
commitecef67cb10db7b83b3b71c61dbb29aa070ab0112
treefec064e95fcb4844bc09cc530fb46ca7664fcfa9
parentff7b11aa481f682e0e9711abfeb7d03f5cd612bf
tun: remove unnecessary memory barrier

Replace set_current_state with __set_current_state since no memory
barrier is needed at this point.

Signed-off-by: Timur Celik <mail@timurcelik.de>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tun.c