lkml.org 
[lkml]   [2007]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] cpufreq: do not declare undefined functions
On Mon, Apr 30, 2007 at 07:34:37AM -0700, David Rientjes wrote:
> fill_powernow_table_pstate() and fill_powernow_table_fidvid() are only
> defined and used for X86_POWERNOW_K8_ACPI.

it's just a prototype, so no code is generated by declaring one
to an unused (or even non-existant) function.

Or are you using some oddball compiler that warns about this?

Dave

--
http://www.codemonkey.org.uk
-
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: 2007-04-30 18:03    [W:0.049 / U:0.452 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site