diff options
author | Vladimir Oltean | 2020-10-11 12:20:41 +0300 |
---|---|---|
committer | Jakub Kicinski | 2020-10-13 17:04:43 -0700 |
commit | 7e38b03f0fe7c642d26f8bccbead021e9d772bb2 (patch) | |
tree | fa8efbb48b797f197f906071556a906dd230dc2a /net/ipv4/tcp.c | |
parent | c93c5482c7d4132e84ee7a9e8d831c00ed7aec41 (diff) |
net: mscc: ocelot: remove duplicate ocelot_port_dev_check
A helper for checking whether a net_device belongs to mscc_ocelot
already existed and did not need to be rewritten. Use it.
Fixes: 319e4dd11a20 ("net: mscc: ocelot: introduce conversion helpers between port and netdev")
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Link: https://lore.kernel.org/r/20201011092041.3535101-1-vladimir.oltean@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv4/tcp.c')
0 files changed, 0 insertions, 0 deletions