diff options
| author | Leo Kim <[email protected]> | 2015-10-28 15:27:21 +0900 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2015-10-29 08:16:52 +0900 |
| commit | dbef61e749caf22b51ed4e1981aedd8426a4d837 (patch) | |
| tree | 6911a03b5a9681b62c42214795d2ea81679dd707 /tools/perf/scripts/python/bin | |
| parent | 82bb18e1bdcd774059556c58650a04c004a21c9d (diff) | |
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 <[email protected]>
Signed-off-by: Tony Cho <[email protected]>
Signed-off-by: Glen Lee <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions