ath10k: remove impossible code
authorSudip Mukherjee <sudip@vectorindia.org>
Tue, 2 Feb 2016 07:14:40 +0000 (12:44 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 25 Feb 2016 16:17:59 +0000 (18:17 +0200)
commit4fb37186f3b2b1f5d1a8f3e6b26b719bf2df6ee3
treee372ab381f7c49476b5cb16b220869f97107466e
parent5699a6f238ebfc8a6be3963a30d86d6f1e8aaaf9
ath10k: remove impossible code

len has been initialized with a value of 0 and buf_len with 4096. There
is no way that this condition (len > buf_len) can be true now.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/debug.c