diff options
author | Varka Bhadram <varkabhadram@gmail.com> | 2014-12-26 10:13:39 +0530 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-12-30 07:15:55 +0100 |
commit | f50f1c37a663b7b76013638f60a400a16ddd2158 (patch) | |
tree | 83bf6f537c0d23654eb3df318d7ef3fcb097090b /ipc/util.h | |
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>
Diffstat (limited to 'ipc/util.h')
0 files changed, 0 insertions, 0 deletions