ipc: do not unregister action if IPC unsupported
authorAnatoly Burakov <anatoly.burakov@intel.com>
Thu, 25 Apr 2019 12:45:16 +0000 (13:45 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 5 Jun 2019 09:27:43 +0000 (11:27 +0200)
commit9a4274be9e47eecb1afe31fb7bc75a07e68d4392
tree8c76d13cd66bbb3918a0333a27ff00d47c7ba74c
parentedf73dd330729d9892add288da5e73c171553dd8
ipc: do not unregister action if IPC unsupported

Currently, unregister will be attempted even if IPC wasn't
supported in the first place. It is harmless, but for
consistency reasons, update the unregister API call to
exit early when IPC is not supported.

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
lib/librte_eal/common/eal_common_proc.c