USB: core: Fix unused variable warning in usb_alloc_dev()
authorAlan Stern <stern@rowland.harvard.edu>
Fri, 11 Aug 2023 15:47:15 +0000 (11:47 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 Aug 2023 08:03:37 +0000 (10:03 +0200)
commit5198c0eeb8ff98ee673a2420ba96d93c477c6ef4
tree2ec5ad95f20a834d6685b3137ddedc025a5295e8
parentc272dabf2d43c3523af1a40be3127e7a1f84540a
USB: core: Fix unused variable warning in usb_alloc_dev()

The kernel test robot reported that a recent commit caused a "variable
set but not used" warning.  As a result of that commit, the variable
no longer serves any purpose; it should be removed.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202308092350.HR4PVHUt-lkp@intel.com/
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Fixes: 1e4c574225cc ("USB: Remove remnants of Wireless USB and UWB")
Link: https://lore.kernel.org/r/7223cc66-f006-42ae-9f30-a6c546bf97a7@rowland.harvard.edu
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/usb.c