summaryrefslogtreecommitdiffstats
path: root/sound/mips/hal2.c
diff options
context:
space:
mode:
authorVarka Bhadram <varkabhadram@gmail.com>2014-12-26 10:13:39 +0530
committerMarcel Holtmann <marcel@holtmann.org>2014-12-30 07:15:55 +0100
commitf50f1c37a663b7b76013638f60a400a16ddd2158 (patch)
tree83bf6f537c0d23654eb3df318d7ef3fcb097090b /sound/mips/hal2.c
parent5eb9f8caac333842e840325fe7299465bcdf2111 (diff)
downloadop-kernel-dev-f50f1c37a663b7b76013638f60a400a16ddd2158.zip
op-kernel-dev-f50f1c37a663b7b76013638f60a400a16ddd2158.tar.gz
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 'sound/mips/hal2.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud