ath5k: remove double opmode definition
authorBruno Randolf <br1@einfach.org>
Tue, 9 Mar 2010 07:55:38 +0000 (16:55 +0900)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 10 Mar 2010 22:44:33 +0000 (17:44 -0500)
commitccfe5552aeb18c87a4d0ecb8cb7512280435bfdd
tree4856db3614b872aa01914daa161c5c6432c566a3
parentcaec9112d6cb07cb5b82a967a448c3b15b257654
ath5k: remove double opmode definition

opmode (operating mode) was defined in struct ath5k_hw and struct ath5k_softc.
remove it from ath5k_hw and use only from ath5k_softc (sc->opmode).

(btw: what's the meaning of opmode when we have multiple interfaces?)

Signed-off-by: Bruno Randolf <br1@einfach.org>
Acked-by: Nick Kossifidis <mickflemm@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/ath5k.h
drivers/net/wireless/ath/ath5k/attach.c
drivers/net/wireless/ath/ath5k/base.c
drivers/net/wireless/ath/ath5k/pcu.c
drivers/net/wireless/ath/ath5k/reset.c