OSDN Git Service

net: dsa: seville_vsc9953: drop of_match_ptr for ID table
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sat, 11 Mar 2023 17:32:54 +0000 (18:32 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Mar 2023 08:11:01 +0000 (08:11 +0000)
commit1eb8566dd08db9c7402a26b027086eaabc20ff2a
tree16fe490e605b7e15aac97c11fba90a4af5c9f6e6
parentced5c5a0a2ea5eec6ed6cf1fcdde719fdafed82c
net: dsa: seville_vsc9953: drop of_match_ptr for ID table

The driver can match only via the DT table so the table should be always
used and the of_match_ptr does not have any sense (this also allows ACPI
matching via PRP0001, even though it might not be relevant here).

  drivers/net/dsa/ocelot/seville_vsc9953.c:1070:34: error: â€˜seville_of_match’ defined but not used [-Werror=unused-const-variable=]

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/ocelot/seville_vsc9953.c