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:Varka Bhadram <varkab@cdac.in> Signed-off-by:
Marcel Holtmann <marcel@holtmann.org>
Showing
Please register or sign in to comment