[PATCH v2] powerpc: kernel: remove useless code which related with 'max_cpus'
Benjamin Herrenschmidt
benh at kernel.crashing.org
Thu Jul 25 15:51:45 EST 2013
On Thu, 2013-07-25 at 13:24 +0800, Chen Gang wrote:
> For an extern function, if the performance is not sensible, better to
> have the return value which can indicate the failure with the negative
> number.
The return value is meaningless.
We don't have a good way to handle it. It has no defined semantics. What
does "failure" means in that case ? Nothing !
So just remove it.
Ben.
More information about the Linuxppc-dev
mailing list