[PATCH v2 for-4.17 3/3] locking: Clean-up comment and #ifndef for {,queued_}spin_is_locked()

2018-03-28 Thread Andrea Parri
Removes "#ifndef queued_spin_is_locked" from the generic code: this is not used _and_ it is reasonable to conclude that it'll never be. Also removes the comment about spin_is_locked() from mutex_is_locked(): it remains valid, but not particularly useful. Suggested-by: Will Deacon

[PATCH v2 for-4.17 3/3] locking: Clean-up comment and #ifndef for {,queued_}spin_is_locked()

2018-03-28 Thread Andrea Parri
Removes "#ifndef queued_spin_is_locked" from the generic code: this is not used _and_ it is reasonable to conclude that it'll never be. Also removes the comment about spin_is_locked() from mutex_is_locked(): it remains valid, but not particularly useful. Suggested-by: Will Deacon Signed-off-by: