event/dlb: skip memzone freeing if port created
authorTimothy McDaniel <timothy.mcdaniel@intel.com>
Wed, 11 Nov 2020 20:27:01 +0000 (14:27 -0600)
committerJerin Jacob <jerinj@marvell.com>
Thu, 12 Nov 2020 18:00:52 +0000 (19:00 +0100)
commitbc3d6a34c0b2e1ccdc1520ba814622cf0e1f58d6
treeef697241921315ace9d665d20ef79694f5641324
parenta00c150fe2e76d2fac20384ab1538486055857f7
event/dlb: skip memzone freeing if port created

Add missing returns so that the memzone free is not called if
port create is successful.

Signed-off-by: Timothy McDaniel <timothy.mcdaniel@intel.com>
Reviewed-by: Mike Ximing Chen <mike.ximing.chen@intel.com>
drivers/event/dlb/pf/dlb_pf.c