commit | f50f1c37a663b7b76013638f60a400a16ddd2158 | [log] [tgz] |
---|---|---|
author | Varka Bhadram <varkabhadram@gmail.com> | Fri Dec 26 10:13:39 2014 +0530 |
committer | Marcel Holtmann <marcel@holtmann.org> | Tue Dec 30 07:15:55 2014 +0100 |
tree | 83bf6f537c0d23654eb3df318d7ef3fcb097090b | |
parent | 5eb9f8caac333842e840325fe7299465bcdf2111 [diff] |
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>