iwlwifi: add iwl_cmd_queue_free for readability
authorTomas Winkler <tomas.winkler@intel.com>
Tue, 14 Oct 2008 19:32:44 +0000 (12:32 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 31 Oct 2008 23:00:28 +0000 (19:00 -0400)
commit961ba60abe02517d0c8252f9befb1478f4e008a4
tree60f254c6777aca236eff8cc06a34f11c213d5751
parent3257e5d4eb418e4656542207720aef5f0f547701
iwlwifi: add iwl_cmd_queue_free for readability

This patch adds iwl_cmd_queue_free function and
separate cmd queue freeing from regular tx queue freeing.
This improves readability and adds one more step in
restructuring  of cmd queue handling

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Reviewed-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-tx.c