Skip to content
Commit 2aee167c authored by Daniel Lezcano's avatar Daniel Lezcano Committed by David S. Miller
Browse files

net/usb/drivers: Remove useless hrtimer_active check



The code does:

 if (hrtimer_active(&t))
    hrtimer_cancel(&t);

However, hrtimer_cancel() checks if the timer is active, so the
test above is pointless.

Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent cbf56c29
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