usb: isp1760: do not reset retval
authorRui Miguel Silva <rui.silva@linaro.org>
Thu, 19 Aug 2021 18:09:27 +0000 (19:09 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Aug 2021 11:30:39 +0000 (13:30 +0200)
commit5e4cd1b6556302fe6a457e525c256cbef3563543
tree38b6a1a1bf867c29f2dc888cf5094455f4648a0e
parent8e58b7710d6634ed46ae26fedb8459f84f08fd51
usb: isp1760: do not reset retval

We do not really need to reset retval before get used bellow.
This will avoid the clang-analyzer warning:

drivers/usb/isp1760/isp1760-hcd.c:1919:2: warning: Value stored to 'retval' is never read [clang-analyzer-deadcode.DeadStores]
        retval = 0;

Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
Link: https://lore.kernel.org/r/20210819180929.1327349-4-rui.silva@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/isp1760/isp1760-hcd.c