diff options
author | Kalle Valo <kvalo@codeaurora.org> | 2019-06-27 21:47:30 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2019-06-28 22:14:15 +0300 |
commit | d44c732cffe544d38641065a12e416e0ce4217c1 (patch) | |
tree | 2747671a53bd55c6a3e8036feb6542c00866d8ed /drivers/net/wireless/ath/ath10k/bmi.c | |
parent | 2189135437d017bef86aafdee9f50d38d5525f03 (diff) |
ath10k: pci: remove unnecessary casts
Fixes checkpatch warnings:
drivers/net/wireless/ath/ath10k/pci.c:926: unnecessary cast may hide bugs, see http://c-faq.com/malloc/mallocnocast.html
drivers/net/wireless/ath/ath10k/pci.c:1072: unnecessary cast may hide bugs, see http://c-faq.com/malloc/mallocnocast.html
While at it, also remove unnecessary initialisation of data_buf variable in both cases.
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/bmi.c')
0 files changed, 0 insertions, 0 deletions