mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
jffs2: use to_delayed_work
Use to_delayed_work() instead of open-coding it. Signed-off-by: Geliang Tang <[email protected]> Signed-off-by: Brian Norris <[email protected]>
This commit is contained in:
parent
f7a8e38f07
commit
43584c1d42
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue