lkml.org 
[lkml]   [2006]   [Feb]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 02/13] hrtimer: remove useless const
Hi,

On Mon, 13 Feb 2006, Thomas Gleixner wrote:

> > A const for arguments which are passed by value is completely ignored by
> > gcc. It has only an effect on local variables and even here gcc doesn't
> > need it either to produce better code.
>
> NACK - gcc3 produces smaller code with the const - only gcc4 fixed that

That would would be a compiler problem, these const _are_ bogus.

> Also this is neither a regression nor a bug and therefor not required
> for 2.6.16.

Well, hrtimer was merged a bit suddenly for me, so I never had a chance
for a detailed review and this patch doesn't break anything either.

bye, Roman
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-02-13 12:42    [W:0.297 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site