OSDN Git Service

ath11k: drop memset when setting up a tx cmd desc
authorJohn Crispin <john@phrozen.org>
Fri, 13 Dec 2019 15:38:33 +0000 (16:38 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 18 Dec 2019 17:27:33 +0000 (19:27 +0200)
commitbde4d95e92d56111c0548cb81dfe1ccb8b2bbfbd
treedcc5dc5eec78d6b1289fc535c9f1efd3aae1557f
parent6bfebd4bf93928958cd57df9a8ccd5862f88468c
ath11k: drop memset when setting up a tx cmd desc

There is no point in zero'ing out the structure if we set all values in the
following line.

Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath11k/dp_tx.c
drivers/net/wireless/ath/ath11k/hal_tx.c