tuntap: remove unused variable in __tun_detach()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 13 Mar 2013 03:03:58 +0000 (03:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Mar 2013 15:31:58 +0000 (11:31 -0400)
commitf7de0b936811296f7d88d378af80ad14b061769a
tree11321537d49bf7ca29f53b14f69907646afe14c9
parentdf594563fc8503d8473341fc67fc890c65c3a7c9
tuntap: remove unused variable in __tun_detach()

The variable dev is initialized but never used
otherwise, so remove the unused variable.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tun.c