aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiri Pirko <[email protected]>2023-05-23 14:38:00 +0200
committerDavid S. Miller <[email protected]>2023-05-24 10:34:26 +0100
commit1bb1b57898504da4e10d48b901556278e161c7fd (patch)
treeec33a33dc50a28da4edb2f84beeb19cb2398a2e0
parentc496daeb863093a046e0bb8db7265bf45d91775a (diff)
devlink: remove no longer true locking comment from port_new/del()
All commands are called holding instance lock. Remove the outdated comment that says otherwise. Signed-off-by: Jiri Pirko <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: David S. Miller <[email protected]>
-rw-r--r--include/net/devlink.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/net/devlink.h b/include/net/devlink.h
index ccea6e079777..24a48f3d4c35 100644
--- a/include/net/devlink.h
+++ b/include/net/devlink.h
@@ -1506,8 +1506,6 @@ struct devlink_ops {
* attributes
*
* Notes:
- * - Called without devlink instance lock being held. Drivers must
- * implement own means of synchronization
* - On success, drivers must register a port with devlink core
*
* Return: 0 on success, negative value otherwise.
@@ -1525,8 +1523,6 @@ struct devlink_ops {
* to delete a previously created port function
*
* Notes:
- * - Called without devlink instance lock being held. Drivers must
- * implement own means of synchronization
* - On success, drivers must unregister the corresponding devlink
* port
*