rtl8180: remove priv->mode
authorJohn W. Linville <linville@tuxdriver.com>
Tue, 22 Dec 2009 23:13:04 +0000 (18:13 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 28 Dec 2009 21:31:38 +0000 (16:31 -0500)
commit643aab6733799586c798a7b54b85c34d587b25e3
treeb85ec6e44aafad3fff96676b6e281f46f108ccf6
parent5122d8986232ef2a761f5cf70c31666c4d65c3e4
rtl8180: remove priv->mode

It is only checked in add_interface, and there it is easily replaced
with a check of priv->vif.  If that information should become necessary,
it is available in vif->type anyway.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtl818x/rtl8180.h
drivers/net/wireless/rtl818x/rtl8180_dev.c