Re: [PATCH] HID: intel-ish-hid: remove redundant variable num_frags

From: Jiri Kosina
Date: Tue Jul 17 2018 - 09:52:28 EST


On Mon, 2 Jul 2018, Colin King wrote:

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> Variable num_frags is being assigned but is never used hence it is
> redundant and can be removed.
>
> Cleans up clang warning:
> warning: variable 'num_frags' set but not used [-Wunused-but-set-variable]
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Applied, thanks.

--
Jiri Kosina
SUSE Labs