]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] iwlwifi: removing unnecessary memset in 4965 rate scale
authorZhu Yi <yi.zhu@intel.com>
Thu, 27 Sep 2007 03:27:36 +0000 (11:27 +0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:53:23 +0000 (16:53 -0700)
commit63fddb9f7f65b41277043344ae0d24dbbb451ada
tree463a46da56fee91d4afc23369485fa0f7a482eda
parentc14c521e440a6a83835a2879a4c5f4311b1df68f
[PATCH] iwlwifi: removing unnecessary memset in 4965 rate scale

This patch removes redundant memset in rate scale. In rs_alloc_sta,
kzalloc is used so the memset can be avoided. In rs_rate_init, it is
a bug fix since it overrides everything set in other handlers namely
add_debugfs.

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-4965-rs.c