locking/mutex: Remove repeated declaration
authorShaokun Zhang <zhangshaokun@hisilicon.com>
Wed, 24 Mar 2021 05:40:40 +0000 (13:40 +0800)
committerIngo Molnar <mingo@kernel.org>
Thu, 25 Mar 2021 11:02:06 +0000 (12:02 +0100)
commit8af856d18bfbe89676ade38caa2a5d06f75f211d
tree5759ebcdb012b46cab7fe70e2a8e63eb010fc3d4
parente2db7592be8e83df47519116621411e1056b21c7
locking/mutex: Remove repeated declaration

Commit 0cd39f4600ed ("locking/seqlock, headers: Untangle the spaghetti monster")
introduces 'struct ww_acquire_ctx' again, remove the repeated declaration and move
the pre-declarations to the top.

Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Waiman Long <longman@redhat.com>
Link: https://lore.kernel.org/r/1616564440-61318-1-git-send-email-zhangshaokun@hisilicon.com
include/linux/mutex.h