--On Wednesday, October 09, 2002 15:51:15 -0700 Andrew Morton
[off-list ref] wrote:
Stylistic trivia: When stubbing out a function it's cleaner (and faster)
to do:
# ifdef CONFIG_FOO
int my_function(arg1, arg2)
{
...
}
# else
static inline int my_function(arg1, arg2)
{
return 0;
}
# endif
I'll go one better and remove the function and the references to it, if
that's cleaner. It feels cleaner to me. Here's a patch that does it, on
top of 2.5.41-mm2.
Dave
======================================================================
Dave McCracken IBM Linux Base Kernel Team 1-512-838-3059
dmccr@us.ibm.com T/L 678-3059