rt2x00: Remove unneeded variable
authorIvo van Doorn <ivdoorn@gmail.com>
Tue, 29 Jun 2010 19:39:29 +0000 (21:39 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 30 Jun 2010 19:00:49 +0000 (15:00 -0400)
commit1ed7a17a8eb4e60b9e25d9d0eaec19ac704d4f9b
tree559df808d64f1ae57d6596ed64adf8b4e2839d12
parentf1aa4c541e98afa8b770a75ccaa8504d0bff44a7
rt2x00: Remove unneeded variable

The update_bssid is set only when BSS_CHANGED_BSSID is used,
but the check if that field is true is done later in the function
but also only when BSS_CHANGED_BSSID is set. This makes the
variable useless, as it can never result in a negative check.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00mac.c