* Re: Removal of unwanted comment in hrtimer structure
[not found] ` <CAKMXDJWDx6Zef6yqJjTyCRuhSnkAfcSTEdVoJH+woOqHWttV2w@mail.gmail.com>
@ 2012-01-25 14:16 ` Thomas Gleixner
0 siblings, 0 replies; only message in thread
From: Thomas Gleixner @ 2012-01-25 14:16 UTC (permalink / raw)
To: Namit Gupta; +Cc: linux-kernel
On Mon, 23 Jan 2012, Namit Gupta wrote:
> Dear Mr Thomas Gleixner,
>
> While working on hrtimer, I found that the "_expires" field has been
> removed in latest kernel (kernel 3.x). but the comment written for
> "_expires" has yet not been removed.
There is no comment for the _expires field. The comment talks about
node and the struct element node.expires which replaced _expires, but
still has the same semantics as the old _expires field. So the comment
is correct and stays.
> /**
> * struct hrtimer - the basic hrtimer structure
> - * @node: timerqueue node, which also manages node.expires,
> - * the absolute expiry time in the hrtimers internal
> - * representation. The time is related to the clock on
> - * which the timer is based. Is setup by adding
> - * slack to the _softexpires value. For non range timers
> - * identical to _softexpires.
> + * @node: timerqueue node, which also manages node
Aside of that this comment is wrong and pointless. It says:
@A: bla A, which also manages A
Pretty useless.
Thanks,
tglx
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-01-25 14:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <CAKMXDJXtUzCs2tTEGcKq+U3KwX8nMM3eYSbeUHiKwg5POiQ2nA@mail.gmail.com>
[not found] ` <CAKMXDJWoSxnfN5c96LWPtDX0pwuHcAxy2612S=A4=GmvC-TrSQ@mail.gmail.com>
[not found] ` <CAKMXDJWDx6Zef6yqJjTyCRuhSnkAfcSTEdVoJH+woOqHWttV2w@mail.gmail.com>
2012-01-25 14:16 ` Removal of unwanted comment in hrtimer structure Thomas Gleixner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).