]> Gentwo Git Trees - linux/.git/commit
usb: gadget: Remove unused usb_remove_config
authorDr. David Alan Gilbert <linux@treblig.org>
Sun, 8 Jun 2025 23:33:38 +0000 (00:33 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jun 2025 10:26:48 +0000 (12:26 +0200)
commit227280ad66ac50287a3ea8b8fd43b7c7a6eb09ac
tree8526a0a00aeeea402fb43655a0c9aa5d263c939a
parentefec475e5e20c594e10d42f73cf6803805ae14c9
usb: gadget: Remove unused usb_remove_config

usb_remove_config() was added in 2012's
commit Fixes: 51cce6fc155c ("usb: gadget: composite: Add
usb_remove_config")
but has remained unused.

I see there was a use in drivers/staging/cch that
was removed by
commit 515e6dd20b3f ("Staging: ccg: delete it from the tree")
but it had it's own copy of usb_remove_config()

Remove it.

Signed-off-by: "Dr. David Alan Gilbert" <linux@treblig.org>
Link: https://lore.kernel.org/r/20250608233338.179894-3-linux@treblig.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/composite.c
include/linux/usb/composite.h