Skip to content

Commit bdb0a65

Browse files
Lai Jiangshanhtejun
authored andcommitted
workqueue: Remove unused WORK_NO_COLOR
WORK_NO_COLOR has no user now, just remove it. Signed-off-by: Lai Jiangshan <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
1 parent d812796 commit bdb0a65

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

include/linux/workqueue.h

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,19 +51,14 @@ enum {
5151
WORK_STRUCT_STATIC = 0,
5252
#endif
5353

54-
/*
55-
* The last color is no color used for works which don't
56-
* participate in workqueue flushing.
57-
*/
58-
WORK_NR_COLORS = (1 << WORK_STRUCT_COLOR_BITS) - 1,
59-
WORK_NO_COLOR = WORK_NR_COLORS,
54+
WORK_NR_COLORS = (1 << WORK_STRUCT_COLOR_BITS),
6055

6156
/* not bound to any CPU, prefer the local CPU */
6257
WORK_CPU_UNBOUND = NR_CPUS,
6358

6459
/*
6560
* Reserve 8 bits off of pwq pointer w/ debugobjects turned off.
66-
* This makes pwqs aligned to 256 bytes and allows 15 workqueue
61+
* This makes pwqs aligned to 256 bytes and allows 16 workqueue
6762
* flush colors.
6863
*/
6964
WORK_STRUCT_FLAG_BITS = WORK_STRUCT_COLOR_SHIFT +

0 commit comments

Comments
 (0)