diff options
author | Leon Romanovsky | 2021-10-12 16:15:26 +0300 |
---|---|---|
committer | Jakub Kicinski | 2021-10-12 16:29:17 -0700 |
commit | 82465bec3e9713c395b0a02f5aaf7949443cb877 (patch) | |
tree | 018030f09d90a9c953d8c354aeb11f9f6ef7f4b1 /drivers/net/phy | |
parent | 96869f193cfd26c2b47db32e4d8bcad50461df7a (diff) |
devlink: Delete reload enable/disable interface
Commit a0c76345e3d3 ("devlink: disallow reload operation during device
cleanup") added devlink_reload_{enable,disable}() APIs to prevent reload
operation from racing with device probe/dismantle.
After recent changes to move devlink_register() to the end of device
probe and devlink_unregister() to the beginning of device dismantle,
these races can no longer happen. Reload operations will be denied if
the devlink instance is unregistered and devlink_unregister() will block
until all in-flight operations are done.
Therefore, remove these devlink_reload_{enable,disable}() APIs.
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/phy')
0 files changed, 0 insertions, 0 deletions