+14
−19
+13
−4
Loading
Don't pass the error code to the function and instead move the -ENOMEM check to the callers where it makes more sense. Signed-off-by:Artur Paszkiewicz <artur.paszkiewicz@intel.com> Change-Id: Ib2fa92315dc2973d4023fd9509950589de946614 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/473452 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>