[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180620.090704.1841351400456293204.davem@davemloft.net>
Date: Wed, 20 Jun 2018 09:07:04 +0900 (KST)
From: David Miller <davem@...emloft.net>
To: daniel.lezcano@...aro.org
Cc: oliver@...kum.org, linux-usb@...r.kernel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net/usb/drivers: Remove useless hrtimer_active check
From: Daniel Lezcano <daniel.lezcano@...aro.org>
Date: Tue, 19 Jun 2018 16:14:30 +0200
> 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@...aro.org>
Applied.
Powered by blists - more mailing lists