From: Linus Torvalds Date: Sat, 4 May 2013 18:04:29 +0000 (-0700) Subject: ipc: simplify semtimedop/semctl_main() common error path handling X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~38^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c728b9c87b59fb943c4cba0552d38152787a4ab6;p=pandora-kernel.git ipc: simplify semtimedop/semctl_main() common error path handling With various straight RCU lock/unlock movements, one common exit path pattern had become rcu_read_unlock(); goto out_wakeup; and in fact there were no cases where we wanted to exit to out_wakeup _without_ releasing the RCU read lock. So replace that pattern with "goto out_rcu_wakeup", and remove the old out_wakeup. Acked-by: Davidlohr Bueso Cc: Rik van Riel Cc: Al Viro Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed