diff options
author | Jiri Slaby <jslaby@suse.cz> | 2011-07-26 16:08:46 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-10-03 11:40:43 -0700 |
commit | 7688ef38157babe5bb0e24b3779e769f730b85fc (patch) | |
tree | a6d9f5865af8d2df75bb80f0e35d3344c79d2fc9 /Documentation/parport.txt | |
parent | b7d4d461ad51ad98992a1b4d0b46f86ccabd1ee0 (diff) | |
download | kernel-mfld-blackbay-7688ef38157babe5bb0e24b3779e769f730b85fc.tar.gz kernel-mfld-blackbay-7688ef38157babe5bb0e24b3779e769f730b85fc.tar.bz2 kernel-mfld-blackbay-7688ef38157babe5bb0e24b3779e769f730b85fc.zip |
ipc/mqueue.c: refactor failure handling
commit 04715206c0c2fd4ec5ca77fa51e3a5b41ce71492 upstream.
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 <jslaby@suse.cz>
Cc: Manfred Spraul <manfred@colorfullife.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/parport.txt')
0 files changed, 0 insertions, 0 deletions