diff options
author | Daniel Lezcano | 2018-06-19 16:14:30 +0200 |
---|---|---|
committer | David S. Miller | 2018-06-20 02:05:44 +0200 |
commit | 2aee167c3675b088c86f648f834e793a0085e04d (patch) | |
tree | c9ac3edeb7f6851bb1a0a639732f665acd0a02e5 /net/bpfilter | |
parent | net/sched: act_ife: preserve the action control in case of error (diff) | |
download | kernel-qcow2-linux-2aee167c3675b088c86f648f834e793a0085e04d.tar.gz kernel-qcow2-linux-2aee167c3675b088c86f648f834e793a0085e04d.tar.xz kernel-qcow2-linux-2aee167c3675b088c86f648f834e793a0085e04d.zip |
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>
Diffstat (limited to 'net/bpfilter')
0 files changed, 0 insertions, 0 deletions