]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5548e0b4ed45b3aeda512048be04e8abfb6c80db
treee372ab381f7c49476b5cb16b220869f97107466e
parent2743a41b26fdac0f32a5a9cdeaab44bad891f4d6
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