commit | 2aee167c3675b088c86f648f834e793a0085e04d | [log] [tgz] |
---|---|---|
author | Daniel Lezcano <daniel.lezcano@linaro.org> | Tue Jun 19 16:14:30 2018 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed Jun 20 09:05:44 2018 +0900 |
tree | c9ac3edeb7f6851bb1a0a639732f665acd0a02e5 | |
parent | cbf56c29624fa056a0c1c3d177e67aa51a7fd8d6 [diff] |
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: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>