diff options
author | Leo Kim <leo.kim@atmel.com> | 2015-10-28 07:27:21 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-29 00:16:52 +0100 |
commit | dbef61e749caf22b51ed4e1981aedd8426a4d837 (patch) | |
tree | 6911a03b5a9681b62c42214795d2ea81679dd707 /MAINTAINERS | |
parent | staging: wilc1000: tcp_process: add argument dev and use private data (diff) | |
download | linux-dbef61e749caf22b51ed4e1981aedd8426a4d837.tar.xz linux-dbef61e749caf22b51ed4e1981aedd8426a4d837.zip |
staging: wilc1000: wilc_msgqueue.c : remove goto statement
This patch removes goto statement and moves the spin lock position.
If a memory allocation fails, directly returns an error.
The spin lock actually protects the pHandle. Therefore, call spin lock just
before pHandle is used.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Tony Cho <tony.cho@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions