On 7/13/21 4:17 PM, Thomas Monjalon wrote:
> When registering a new event callback, if allocation fails,
> there is no need for unregistering the callback,
> because it is not registered.
>
> Fixes: 9ec0b3869d8d ("ethdev: allow event registration for all ports")
> Cc: [email protected]
>
> Signed-off-by: Thomas Monjalon <[email protected]>Reviewed-by: Andrew Rybchenko <[email protected]>

