summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2020-09-01 04:32:57 +0200
committerDavid S. Miller <davem@davemloft.net>2020-09-01 15:33:57 -0700
commitceb96fae397a2fafd631d97edb387707481e7c6b (patch)
tree8bc26a1afb150792fd90cf76f763f34dec0fa1f2 /net/unix/af_unix.c
parent0697fecf7ecd8abf70d0f46e6a352818e984cc9f (diff)
net: dsa: mv88e6xxx: Fix W=1 warning with !CONFIG_OF
When building on platforms without device tree, e.g. amd64, W=1 gives a warning about mv88e6xxx_mdio_external_match being unused. Replace of_match_node() with of_device_is_compatible() to prevent this warning. Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions