iwlwifi: remove duplicate initialization in __iwl_down()
authorDan Carpenter <error27@gmail.com>
Tue, 15 Mar 2011 07:03:24 +0000 (10:03 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 30 Mar 2011 18:15:11 +0000 (14:15 -0400)
commit22dd2fd283ea96b4d45185d3e861ef46005082f4
treebde9b2314908db028bdd2144398044acc91b769b
parent0ce790e7d736cedc563e1fb4e998babf5a4dbc3d
iwlwifi: remove duplicate initialization in __iwl_down()

We initialize exit_pending twice.  It's the second initialization which
is correct.  That was added in d745d472af "iwlwifi: cancel scan when
down the device".

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn.c