Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c05eb32f authored by Cong Wang's avatar Cong Wang Committed by Rafael J. Wysocki
Browse files

freezer: remove obsolete comments in __thaw_task()



__thaw_task() no longer clears frozen flag since commit a3201227
(freezer: make freezing() test freeze conditions in effect instead of TIF_FREEZE).

Reviewed-by: default avatarMichal Hocko <mhocko@suse.cz>
Signed-off-by: default avatarCong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 51fae6da
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -150,12 +150,6 @@ void __thaw_task(struct task_struct *p)
{
	unsigned long flags;

	/*
	 * Clear freezing and kick @p if FROZEN.  Clearing is guaranteed to
	 * be visible to @p as waking up implies wmb.  Waking up inside
	 * freezer_lock also prevents wakeups from leaking outside
	 * refrigerator.
	 */
	spin_lock_irqsave(&freezer_lock, flags);
	if (frozen(p))
		wake_up_process(p);