lkml.org 
[lkml]   [2018]   [Jul]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH][V2] net: ethernet: sun: remove redundant variables adv and lpa and mii_reads
From
From: Colin King <colin.king@canonical.com>
Date: Thu, 5 Jul 2018 12:05:25 +0100

> From: Colin Ian King <colin.king@canonical.com>
>
> Variables adv and lpa are being assigned but are never used hence they
> are redundant and can be removed. Also remove the unncessary mii_reads
> too.
>
> Cleans up clang warnings:
> warning: variable 'lpa' set but not used [-Wunused-but-set-variable]
> warning: variable 'adv' set but not used [-Wunused-but-set-variable]
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>
> V2: remove mii_reads as suggessted by Dan Carpenter and David Miller

Applied, thanks Colin.

\
 
 \ /
  Last update: 2018-07-05 13:09    [W:0.052 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site