USB: gadget: udc: Remove some dead code
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 10 Oct 2021 11:33:16 +0000 (13:33 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 10 Oct 2021 13:12:34 +0000 (15:12 +0200)
commitc326d3ed52c8b47f0de329b3b213dc32409d3656
treef7b0ff62d6d14894945af313415a312dabf78953
parentbedbac5f66bfcf54d500967417aeaa4088f6eae0
USB: gadget: udc: Remove some dead code

The 'drd_wq' workqueue_struct has never been used.
It is only destroyed, but never created.

It was introduced in commit 1b9f35adb0ff ("usb: gadget: udc: Add Synopsys
UDC Platform driver")

Remove the corresponding dead code and save some space from the 'udc'
structure.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/9a85b2353843b95e2d86acb3103967fd405a8536.1633865503.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/udc/amd5536udc.h
drivers/usb/gadget/udc/snps_udc_plat.c