Skip to content

Commit d7a3752

Browse files
lyakhnashif
authored andcommitted
work: remove a statement with no effect
work_timeout() is a function, a statement like "(void)work_timeout;" has no effect. Signed-off-by: Guennadi Liakhovetski <[email protected]>
1 parent faecc4c commit d7a3752

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

kernel/work.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -824,7 +824,6 @@ void k_work_init_delayable(struct k_work_delayable *dwork,
824824
},
825825
};
826826
z_init_timeout(&dwork->timeout);
827-
(void)work_timeout;
828827
}
829828

830829
static inline int work_delayable_busy_get_locked(const struct k_work_delayable *dwork)

0 commit comments

Comments
 (0)