]> git.baikalelectronics.ru Git - kernel.git/commit
iwlagn: remove iwlagn_build_addsta_hcmd
authorJohannes Berg <johannes.berg@intel.com>
Mon, 12 Dec 2011 12:17:44 +0000 (04:17 -0800)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 16 Dec 2011 15:24:09 +0000 (07:24 -0800)
commit23c3b860d54e66c3652df6199a90e8ec871de431
tree2a4564d3c6d803581c324c189c9219b872eed8e3
parent32999980eb99b6619b45e23d3d887d570375482b
iwlagn: remove iwlagn_build_addsta_hcmd

This function is not needed:
 * we already have the "cmd" input to it in the
   same type (and on the stack elsewhere)
 * the "legacy_reserved" parameter is never set,
   so will always be zero

Remove the function and the stack copy of the
input command.

This is still left from when iwlegacy was part
of the driver -- then we needed a translation
for the command for 3945.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-agn-sta.c