net/mlx5: replace destructor syntax with common macro
authorThomas Monjalon <thomas@monjalon.net>
Sun, 9 Feb 2020 20:33:29 +0000 (21:33 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 16 Apr 2020 16:07:29 +0000 (18:07 +0200)
commitbf9fadacb56c55f28e2fbc9d725b7853001649ed
tree51e6eb050983f00c4cd634522ea4908ba14cd722
parent53c83e42cd89ac41f5d5870838b034b53887a3cb
net/mlx5: replace destructor syntax with common macro

There is a macro RTE_FINI for destructors,
which is now used where appropriate for consistency.

The destructor function mlx5_pmd_socket_uninit does not need
to be declared separately in mlx5.h.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
drivers/net/mlx5/mlx5.h
drivers/net/mlx5/mlx5_socket.c