diff options
author | Parav Pandit <parav@mellanox.com> | 2018-08-14 10:36:16 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-08-15 01:43:55 +0300 |
commit | b9f09866e0e964ab04968d44602fa3d9de5076f3 (patch) | |
tree | db30d84923bdcf343dd702fee2e9eac278b617c4 /lib/debugobjects.c | |
parent | 666e7099a41afbbc1fb3ee785cad808d2925e12a (diff) | |
download | linux-b9f09866e0e964ab04968d44602fa3d9de5076f3.tar.xz |
IB/core: Avoid confusing del_netdev_default_ips
Currently bond_delete_netdev_default_gids() is called by two callers.
(a) del_netdev_default_ips_join()
(b) del_netdev_default_ips()
Both above functions changes the argument order while calling
bond_delete_netdev_default_gids(). This required silly
del_netdev_default_ips() wrapper.
Additionally, del_netdev_default_ips() deletes default GIDs not IP based
GIDs. del_netdev_default_ips() having _ips suffix is confusing.
Therefore, get rid of confusing del_netdev_default_ips() and simplify
bond_delete_netdev_default_gids() to follow same argument order as its
caller.
Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions