lkml.org 
[lkml]   [2019]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] cpuidle: Drop unnecessary type cast in cpuidle_poll_time()
On Wed, Dec 11, 2019 at 11:33 AM Zhang, Rui <rui.zhang@intel.com> wrote:
>
>
> > -----Original Message-----
> > From: linux-pm-owner@vger.kernel.org [mailto:linux-pm-
> > owner@vger.kernel.org] On Behalf Of Rafael J. Wysocki
> > Sent: Wednesday, December 11, 2019 6:31 PM
> > To: Linux PM <linux-pm@vger.kernel.org>
> > Cc: LKML <linux-kernel@vger.kernel.org>; Daniel Lezcano
> > <daniel.lezcano@linaro.org>
> > Subject: [PATCH] cpuidle: Drop unnecessary type cast in cpuidle_poll_time()
> >
> > From: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
> >
> > The data type of the target_residency_ns field in struct cpuidle_state is u64,
> > so it does not need to be cast into u64.
> >
> > Get read of the unnecessary type cast.
>
> s/read/rid

Indeed, thanks!

\
 
 \ /
  Last update: 2019-12-11 11:36    [W:0.041 / U:0.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site