ath10k: remove redundant check of len with buf_len
authorColin Ian King <colin.king@canonical.com>
Wed, 15 Mar 2017 16:36:41 +0000 (16:36 +0000)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 20 Mar 2017 15:24:45 +0000 (17:24 +0200)
commiteed4721fb6172b3051a8341f9089b728681a9454
treefdb4db8b13d4972517a2992fafe83dbd7cca07d6
parent0a7d88e432e7fc968dee1ddbd214cf1bb966b6f9
ath10k: remove redundant check of len with buf_len

The check of len > buf_len is redundant as len is initialized
to 0 and buf_len to 4096, so this comparison is always false.
Remove it.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/debug.c