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

Commit 43584c1d authored by Geliang Tang's avatar Geliang Tang Committed by Brian Norris
Browse files

jffs2: use to_delayed_work



Use to_delayed_work() instead of open-coding it.

Signed-off-by: default avatarGeliang Tang <geliangtang@163.com>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent f7a8e38f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1153,7 +1153,7 @@ static struct jffs2_sb_info *work_to_sb(struct work_struct *work)
{
	struct delayed_work *dwork;

	dwork = container_of(work, struct delayed_work, work);
	dwork = to_delayed_work(work);
	return container_of(dwork, struct jffs2_sb_info, wbuf_dwork);
}