Commit 598b98f2 authored by Kees Cook's avatar Kees Cook Committed by Greg Kroah-Hartman

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: default avatarKees Cook <keescook@chromium.org>
Acked-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 06e5e004
...@@ -1222,7 +1222,6 @@ static int isp1301_remove(struct i2c_client *i2c) ...@@ -1222,7 +1222,6 @@ static int isp1301_remove(struct i2c_client *i2c)
if (machine_is_omap_h2()) if (machine_is_omap_h2())
gpio_free(2); gpio_free(2);
isp->timer.data = 0;
set_bit(WORK_STOP, &isp->todo); set_bit(WORK_STOP, &isp->todo);
del_timer_sync(&isp->timer); del_timer_sync(&isp->timer);
flush_work(&isp->work); flush_work(&isp->work);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment