usb: gadget: atmel: remove pointless retrieval of DT name property
authorRob Herring <robh@kernel.org>
Wed, 29 Aug 2018 20:01:11 +0000 (15:01 -0500)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 2 Oct 2018 07:43:26 +0000 (10:43 +0300)
commit6fd573e1a7bf0e5f2cbb902e3cdf11a6714fb1f1
tree9f71bf7c34d5eaa006f629c4a59ddee8a6c56e0c
parent24b804e40f23a199e6d82de5b5571bb642490ca1
usb: gadget: atmel: remove pointless retrieval of DT name property

The name is always non-NULL and then is not used anywhere in this function,
so remove it.

Cc: Nicolas Ferre <nicolas.ferre@microchip.com>
Cc: Felipe Balbi <balbi@kernel.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-usb@vger.kernel.org
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/udc/atmel_usba_udc.c