power: reset function pointers on unset environment
authorMarcin Hajkowski <marcinx.hajkowski@intel.com>
Fri, 5 Apr 2019 16:22:04 +0000 (18:22 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 22 Apr 2019 20:45:51 +0000 (22:45 +0200)
commitdae173f8924b9c214948c1e82f50c7dbc5b06dc9
tree70377828f10c64803ad646959e02d65ac233d7da
parent5a5f3178d4a83338e518343ea4037f56b6065f1e
power: reset function pointers on unset environment

Set all power environment related function pointers to NULL
when unset is being made.

Signed-off-by: Marcin Hajkowski <marcinx.hajkowski@intel.com>
Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
lib/librte_power/rte_power.c