Re: [PATCH] dpaa_eth: Remove useless declaration
From: David Miller
Date: Wed Oct 03 2018 - 01:31:32 EST
From: Nathan Chancellor <natechancellor@xxxxxxxxx>
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@xxxxxxxxx>
Applied to net-next.