diff options
author | Ido Schimmel <[email protected]> | 2020-08-26 19:48:53 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-08-26 16:00:51 -0700 |
commit | 233c63785cd92e12d61b283d0eaeafc867fc45f5 (patch) | |
tree | c08f3ad82d14496b108d58e9ae9fc4cf4743216a /drivers/fpga/fpga-bridge.c | |
parent | 33d80996b85283f90474d531920e40ccc2aab918 (diff) |
ipv4: nexthop: Remove unnecessary rtnl_dereference()
The pointer is not RCU protected, so remove the unnecessary
rtnl_dereference(). This suppresses the following warning:
net/ipv4/nexthop.c:1101:24: error: incompatible types in comparison expression (different address spaces):
net/ipv4/nexthop.c:1101:24: struct rb_node [noderef] __rcu *
net/ipv4/nexthop.c:1101:24: struct rb_node *
Signed-off-by: Ido Schimmel <[email protected]>
Reviewed-by: David Ahern <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions