lkml.org 
[lkml]   [2017]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] net: realtek: r8169: remove redundant assignment to giga_ctrl
From
From: Colin King <colin.king@canonical.com>
Date: Wed, 8 Nov 2017 13:23:23 +0000

> From: Colin Ian King <colin.king@canonical.com>
>
> The variable giga_ctrl is being assigned to zero however this is
> never read and hence the assignment is redundant, so remove it.
> Cleans up clang warning:
>
> drivers/net/ethernet/realtek/r8169.c:1978:3: warning: Value stored
> to 'giga_ctrl' is never read
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Applied, thanks Colin.

\
 
 \ /
  Last update: 2017-11-13 02:09    [W:0.032 / U:0.624 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site