From: Kees Cook Date: Wed, 20 Sep 2017 23:27:40 +0000 (-0700) Subject: usb/phy-isp1301-omap: Remove .data assignment X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=598b98f24a8deb2d40e97c4f798a1a9fe343efab;p=linux.git usb/phy-isp1301-omap: Remove .data assignment The .data assignment appears to be redundant to the WORK_STOP bit for stopping the timer. Also, it appears this timer is entirely unused as it is only ever started under #define VERBOSE, which is explicitly undefined. Signed-off-by: Kees Cook Acked-by: Felipe Balbi Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/phy/phy-isp1301-omap.c b/drivers/usb/phy/phy-isp1301-omap.c index c6052c814bcc2..718026bed1b6b 100644 --- a/drivers/usb/phy/phy-isp1301-omap.c +++ b/drivers/usb/phy/phy-isp1301-omap.c @@ -1222,7 +1222,6 @@ static int isp1301_remove(struct i2c_client *i2c) if (machine_is_omap_h2()) gpio_free(2); - isp->timer.data = 0; set_bit(WORK_STOP, &isp->todo); del_timer_sync(&isp->timer); flush_work(&isp->work);