]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit42348c67d00edd1a2e2a15e8a93ce2429d3047bc
treefec064e95fcb4844bc09cc530fb46ca7664fcfa9
parent40ecd97a6b82489a9831dd4b0655addd227cced8
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