mutex: Avoid label warning when !CONFIG_MUTEX_SPIN_ON_OWNER
authorDavidlohr Bueso <davidlohr.bueso@hp.com>
Wed, 24 Jul 2013 18:25:17 +0000 (11:25 -0700)
committerIngo Molnar <mingo@kernel.org>
Thu, 25 Jul 2013 21:21:24 +0000 (23:21 +0200)
commit2b4883972271f8d61de67aa365ade89dfff69db1
tree6e53fa2c3ffc3a89ca83f02b8a11ce8574c070d9
parentec83f425dbca47e19c6737e8e7db0d0924a5de1b
mutex: Avoid label warning when !CONFIG_MUTEX_SPIN_ON_OWNER

Fengguang reported the following warning when optimistic
spinning is disabled (ie: make allnoconfig):

   kernel/mutex.c:599:1: warning: label 'done' defined but not used

Remove the 'done' label altogether.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Davidlohr Bueso <davidlohr.bueso@hp.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/mutex.c