iwlwifi: remove unnecessary code in iwl_trans_alloc_tx_cmd

When we removed dev_cmd_headroom, the check for dev_cmd_ptr == NULL
became unnecessary, since we just return dev_cmd_ptr anyway.  Cleanup
the function to avoid useless code.

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
This commit is contained in:
Luca Coelho 2017-04-05 09:42:18 +03:00
commit 0ae0bb3f40