diff options
author | Dan Carpenter <[email protected]> | 2014-02-10 14:25:30 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2014-02-10 16:01:39 -0800 |
commit | 49d3d6c37a322117b1eeb410a49165bb3d0441f7 (patch) | |
tree | 93e0725ad190f9bb8b4aa55404fcea5480eaf821 /tools/perf/scripts/python | |
parent | b28a960c42fcd9cfc987441fa6d1c1a471f0f9ed (diff) |
drivers/misc/sgi-gru/grukdump.c: unlocking should be conditional in gru_dump_context()
I was reviewing this and noticed that unlocking should be conditional on
the error path. I've changed it to unlock and return directly since we
only do it once and it seems unlikely to change in the near future.
Signed-off-by: Dan Carpenter <[email protected]>
Acked-by: Dimitri Sivanich <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions