lkml.org 
[lkml]   [2018]   [Jul]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] drivers: net: lmc: remove redundant variable next_rx
From
From: Colin King <colin.king@canonical.com>
Date: Sat, 7 Jul 2018 13:47:06 +0100

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

Applied to net-next, thanks Colin.

\
 
 \ /
  Last update: 2018-07-07 15:08    [W:0.025 / U:0.516 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site