diff options
author | Shaokun Zhang <zhangshaokun@hisilicon.com> | 2021-08-25 10:07:04 +0300 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2021-09-17 16:08:45 +0300 |
commit | f7427ba5ce9c5438ad392b6cbcc4ca8a0487d7e7 (patch) | |
tree | f8525f47af1f318751f5a477ced35d6ea30e5919 /include | |
parent | a2e05ddda11b0bd529f443df9089ab498b2c2642 (diff) | |
download | linux-f7427ba5ce9c5438ad392b6cbcc4ca8a0487d7e7.tar.xz |
locking/lockdep: Cleanup the repeated declaration
'struct task_struct' has been decleared twice, so keep the top one and
cleanup the repeated one.
Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/1629875224-32751-1-git-send-email-zhangshaokun@hisilicon.com
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/debug_locks.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/debug_locks.h b/include/linux/debug_locks.h index 3f49e65169c6..dbb409d77d4f 100644 --- a/include/linux/debug_locks.h +++ b/include/linux/debug_locks.h @@ -47,8 +47,6 @@ extern int debug_locks_off(void); # define locking_selftest() do { } while (0) #endif -struct task_struct; - #ifdef CONFIG_LOCKDEP extern void debug_show_all_locks(void); extern void debug_show_held_locks(struct task_struct *task); |