Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1475993

Re: [PATCH] net: lantiq_etop: Remove unused 'i' variable

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH] net: lantiq_etop: Remove unused 'i' variable
Date 2016-09-04 20:50 +0200
Message-ID <sdKEq-137-23@gated-at.bofh.it> (permalink)
References <scXDH-B6-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Paul Burton <paul.burton@imgtec.com>
Date: Fri, 2 Sep 2016 15:26:54 +0100

> Commit e7f4dc3536a4 ("mdio: Move allocation of interrupts into core")
> removed the only use of the 'i' variable from ltq_etop_mdio_init() but
> left the variable declaration behind, leading to the following compiler
> warning:
> 
>   drivers/net/ethernet/lantiq_etop.c: In function 'ltq_etop_mdio_init':
>   drivers/net/ethernet/lantiq_etop.c:414:6: warning: unused variable 'i' [-Wunused-variable]
>     int i;
>         ^
> 
> Fix this by removing the declaration of the 'i' variable.
> 
> Signed-off-by: Paul Burton <paul.burton@imgtec.com>

This appears to already be fixed in net-next

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] net: lantiq_etop: Remove unused 'i' variable Paul Burton <paul.burton@imgtec.com> - 2016-09-02 16:30 +0200
  Re: [PATCH] net: lantiq_etop: Remove unused 'i' variable David Miller <davem@davemloft.net> - 2016-09-04 20:50 +0200

csiph-web