// SPDX-License-Identifier: GPL-2.0 #include #include void rust_helper_init_work_with_key(struct work_struct *work, work_func_t func, bool onstack, const char *name, struct lock_class_key *key) { __init_work(work, onstack); work->data = (atomic_long_t)WORK_DATA_INIT(); lockdep_init_map(&work->lockdep_map, name, key, 0); INIT_LIST_HEAD(&work->entry); work->func = func; } epository'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFinn Thain <fthain@telegraphics.com.au>2020-02-16 08:03:32 +1100
committerDavid S. Miller <davem@davemloft.net>2020-02-16 19:48:21 -0800
commit888d0584afb884b3c402c5d01aa8c0006c25bc52 (patch)
treed305e2d5af8145db5ba8d2d11754df80f53b2e3d
parent8fb9df97750f484fd4ad2de7aa615b357f2e73ee (diff)
net/sonic: Remove obsolete comment
The comment is meaningless since mark_bh() was removed a long time ago. Tested-by: Stan Johnson <userm57@yahoo.com> Signed-off-by: Finn Thain <fthain@telegraphics.com.au> Signed-off-by: David S. Miller <davem@davemloft.net>