diff options
author | Jiri Slaby <[email protected]> | 2011-07-26 16:08:46 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2011-07-26 16:49:44 -0700 |
commit | 04715206c0c2fd4ec5ca77fa51e3a5b41ce71492 (patch) | |
tree | fbead768d176d82e5e1ff6021c030b8cd6d26c9f /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | a64a26e822ddb739de464540dfd2cbb6abce47d5 (diff) |
ipc/mqueue.c: refactor failure handling
If new_inode fails to allocate an inode we need only to return with
NULL. But now we test the opposite and have all the work in a nested
block. So do the opposite to save one indentation level (and remove
unnecessary line breaks).
This is only a preparation/cleanup for the next patch where we fix up
return values from mqueue_get_inode.
Signed-off-by: Jiri Slaby <[email protected]>
Cc: Manfred Spraul <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions