
26 May
2010
26 May
'10
8:19 p.m.
Scott Wood wrote:
Perhaps (most of) this information could be put in a data structure to which you point?
That doesn't change the amount of information that needs to be passed, it only makes the prototype have fewer lines.
The point I'm trying to make is that the code in question is not the same code copy/pasted three times. Every line is different. Moving that code into a function is not going to simplify anything.
--
Timur Tabi
Linux kernel developer at Freescale