From: Jiri Slaby Date: Tue, 26 Jul 2011 23:08:46 +0000 (-0700) Subject: ipc/mqueue.c: refactor failure handling X-Git-Tag: v3.1-rc1~185 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04715206c0c2fd4ec5ca77fa51e3a5b41ce71492;p=pandora-kernel.git 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 Cc: Manfred Spraul Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed