[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <a669166e00c5481e880f6cfbb28fea7f@euamsexm01a.eu.qualcomm.com>
Date: Mon, 20 Mar 2017 16:25:19 +0100
From: Kalle Valo <kvalo@....qualcomm.com>
To: Colin Ian King <colin.king@...onical.com>
CC: <ath10k@...ts.infradead.org>, <linux-wireless@...r.kernel.org>,
<netdev@...r.kernel.org>, <kernel-janitors@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: ath10k: remove redundant check of len with buf_len
Colin Ian King <colin.king@...onical.com> wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> 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@...onical.com>
Patch applied to ath-next branch of ath.git, thanks.
eed4721fb617 ath10k: remove redundant check of len with buf_len
--
https://patchwork.kernel.org/patch/9626131/
Documentation about submitting wireless patches and checking status
from patchwork:
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists