From: Sebastian Andrzej Siewior Date: Thu, 18 Jun 2020 19:08:10 +0000 (+0200) Subject: sched/core: Remove mmdrop() definition X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=01e377c539ca52a6c753d0fdbe93b3b8fcd66a1c;p=linux.git sched/core: Remove mmdrop() definition Commit bf2c59fce4074 ("sched/core: Fix illegal RCU from offline CPUs") introduced a definition for mmdrop() but a a few lines above there is already mmdrop() defined as static inline. Remove the newly introduced mmdrop() definition. Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Peter Zijlstra (Intel) Link: https://lkml.kernel.org/r/20200618190810.790211-1-bigeasy@linutronix.de --- diff --git a/include/linux/sched/mm.h b/include/linux/sched/mm.h index 480a4d1b7dd8d..a98604ea76f10 100644 --- a/include/linux/sched/mm.h +++ b/include/linux/sched/mm.h @@ -49,8 +49,6 @@ static inline void mmdrop(struct mm_struct *mm) __mmdrop(mm); } -void mmdrop(struct mm_struct *mm); - /* * This has to be called after a get_task_mm()/mmget_not_zero() * followed by taking the mmap_lock for writing before modifying the