Re: [patch net-next] net: qcom/emac: fix a sizeof() typo
From: walter harms
Date: Mon Feb 13 2017 - 08:29:07 EST
Am 13.02.2017 14:03, schrieb Timur Tabi:
> walter harms wrote:
>> We have a function where the argument is ignored and the rest is const ?
>> emac_ethtool_get_regs_len seems the only user. So it would be fairly
>> easy to
>> move that into that function.
>> Is there a deeper logic behind this ?
> I don't understand the question.
The question is: why is a simple calculation const*const
separated into a function ?