workqueue: Fold rebind_worker() within rebind_workers()
authorValentin Schneider <vschneid@redhat.com>
Fri, 13 Jan 2023 17:40:40 +0000 (17:40 +0000)
committerTejun Heo <tj@kernel.org>
Fri, 13 Jan 2023 17:50:40 +0000 (07:50 -1000)
commitc63a2e52d5e08f01140d7b76c08a78e15e801f03
tree8398879012c1de0c1bbb71cfd147baf28c5abe63
parente02b93124855cd34b78e61ae44846c8cb5fddfc3
workqueue: Fold rebind_worker() within rebind_workers()

!CONFIG_SMP builds complain about rebind_worker() being unused. Its only
user, rebind_workers() is indeed only defined for CONFIG_SMP, so just fold
the two lines back up there.

Link: http://lore.kernel.org/r/20230113143102.2e94d74f@canb.auug.org.au
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Valentin Schneider <vschneid@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/workqueue.c