From f348642d6f0d7da89bf6e156ff15a8f89c1db5c6 Mon Sep 17 00:00:00 2001 From: David Hunt Date: Wed, 4 Nov 2020 09:28:10 +0000 Subject: [PATCH] doc: remove obsolete deprecation notice for power library Remove notice announcing an already-implemented change. In 19.05, rte_power_set_env was changed to return -1 in cases where the environment was already set up, and for the same release, a deprecation notice was added. This patch removes that notice. The API change was tested by calling rte_power_set_env twice. The first call succeeded, and the second call failed, as expected. Fixes: 5a5f3178d4a8 ("power: return error when environment already set") Cc: stable@dpdk.org Signed-off-by: David Hunt --- doc/guides/rel_notes/deprecation.rst | 5 ----- 1 file changed, 5 deletions(-) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index 759232966e..f3258eb3f7 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -127,11 +127,6 @@ Deprecation Notices * metrics: The function ``rte_metrics_init`` will have a non-void return in order to notify errors instead of calling ``rte_exit``. -* power: ``rte_power_set_env`` function will no longer return 0 on attempt - to set new power environment if power environment was already initialized. - In this case the function will return -1 unless the environment is unset first - (using ``rte_power_unset_env``). Other function usage scenarios will not change. - * cmdline: ``cmdline`` structure will be made opaque to hide platform-specific content. On Linux and FreeBSD, supported prior to DPDK 20.11, original structure will be kept until DPDK 21.11. -- 2.20.1