Skip to content
Commit f50f1c37 authored by Varka Bhadram's avatar Varka Bhadram Committed by Marcel Holtmann
Browse files

cc2520: remove 'ret' goto label



If allocation of memory fails instead of going to ret goto label
and returning from there, we can directly return -ENOMEM on failure.

Signed-off-by: default avatarVarka Bhadram <varkab@cdac.in>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 5eb9f8ca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment