mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-28 20:03:05 +00:00
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:
parent
b7e94bab81
commit
0ae0bb3f40
1 changed files with 1 additions and 7 deletions
Loading…
Add table
Add a link
Reference in a new issue