tun: use tun_sk instead container_of
authorVitaliy Gusev <vgusev@openvz.org>
Fri, 25 Dec 2009 07:17:43 +0000 (07:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 27 Dec 2009 04:24:44 +0000 (20:24 -0800)
commit80924e5f7dbe00d964b7249160c7ca25fa3cd889
tree8c1973dc42042703f2b50db5203efb30e9cf4a8f
parent08fafd8461c0ca8d1b389b7dc11d17e7b2331282
tun: use tun_sk instead container_of

Using macro tun_sk is more clear and shorter. However tun.c has tun_sk,
but doesn't use it.

Signed-off-by: Vitaliy Gusev <vgusev@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tun.c