[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20181002.223129.1177445698929439953.davem@davemloft.net>
Date: Tue, 02 Oct 2018 22:31:29 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: natechancellor@...il.com
Cc: madalin.bucur@....com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] dpaa_eth: Remove useless declaration
From: Nathan Chancellor <natechancellor@...il.com>
Date: Sun, 30 Sep 2018 21:10:29 -0700
> Clang warns:
>
> drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:2734:34: warning:
> tentative array definition assumed to have one element
> static const struct of_device_id dpaa_match[];
> ^
> 1 warning generated.
>
> Turns out that since this driver was introduced in commit 9ad1a3749333
> ("dpaa_eth: add support for DPAA Ethernet"), this declaration has been
> unused. Remove it to silence the warning.
>
> Signed-off-by: Nathan Chancellor <natechancellor@...il.com>
Applied to net-next.
Powered by blists - more mailing lists