Skip to content
Commit 750cf40c authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Li Yang
Browse files

soc: fsl: qbman: Fix return value on success



On error the function was meant to return -ERRNO.  This also fixes
compile warning:

  drivers/soc/fsl/qbman/bman.c:640:6: warning: variable 'err' set but not used [-Wunused-but-set-variable]

Fixes: 0505d00c ("soc/fsl/qbman: Cleanup buffer pools if BMan was initialized prior to bootup")
Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: default avatarLi Yang <leoyang.li@nxp.com>
parent 1fe44191
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment