mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 00:12:52 +00:00
If creating a workqueue fails, don't jump to the error path where that same workqueue is destroyed, since destroy_workqueue() can't handle a NULL pointer. This was spotted by the Coverity checker (CID 2617). Signed-off-by: Roland Dreier <[email protected]> Signed-off-by: David S. Miller <[email protected]>