Messages in this thread | | | Date | Mon, 13 Feb 2017 14:28:50 +0100 | From | walter harms <> | Subject | Re: [patch net-next] net: qcom/emac: fix a sizeof() typo |
| |
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. >> >> @maintainer: >> 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 ?
re, wh
| |