iwlwifi: remove duplicate initialization
authorDan Carpenter <error27@gmail.com>
Sat, 26 Feb 2011 01:56:53 +0000 (04:56 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 28 Feb 2011 19:06:53 +0000 (14:06 -0500)
commitc3371d64d2b2fd029033976046cb4ca641485506
treeab49d5d2a23f3a44b9c034d9d362809d96078501
parentd45dcef77019012fc6769e657fc2f1a5d681bbbb
iwlwifi: remove duplicate initialization

rate_mask is initialized again later so this can be removed.  Btw, if
rate_control_send_low(sta, priv_sta, txrc) returns false, that means
that "sta" is non-NULL.  That's why the second initialization of
rate_mask is a little simpler than the first.

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/iwlegacy/iwl-3945-rs.c