Re: [PATCH 3/3] pvclock: Add a new wrapper function to only get variable flags

From: Andy Lutomirski
Date: Fri May 27 2016 - 11:41:16 EST


On Thu, May 26, 2016 at 11:17 PM, Minfei Huang <mnghuan@xxxxxxxxx> wrote:
> There is a generic function __pvclock_read_cycles to be used to get both
> flags and cycles. For function pvclock_read_flags, it's useless to get
> cycles value. To make this function be more effective, add a new wrapper
> function to only get variable flags.

Why not just get rid of this function entirely?