From: Chris Wilson Date: Thu, 24 Jul 2014 12:28:44 +0000 (+0100) Subject: drm/i915/userptr: Keep spin_lock/unlock in the same block X-Git-Tag: cleanup-for-v3.18~84^2~20^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=487777673e355ab9f0b7cac4ad1207be9d36156f;p=pandora-kernel.git drm/i915/userptr: Keep spin_lock/unlock in the same block Move the code around in order to acquire and release the spinlock in the same function and in the same block. This keeps static analysers happy and the reader sane. Suggested-by: Julia Lawall Signed-off-by: Chris Wilson Cc: Julia Lawall Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed