Date: Thu, 3 Feb 2005 10:58:03 +0100 From: Alexander Leidinger <Alexander@Leidinger.net> To: Roman Kurakin <rik@cronyx.ru> Cc: current@freebsd.org Subject: Re: We have a lot of duplicated code in the kernel Message-ID: <20050203105803.31hpqdb7y80gwgkc@netchild.homeip.net> In-Reply-To: <42013BC8.5040204@cronyx.ru> References: <20050129161022.0de822fe@Magellan.Leidinger.net> <42013BC8.5040204@cronyx.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
Roman Kurakin <rik@cronyx.ru> wrote: >> I've filtered the list for some false positives (twa_fwimg, trlld?m, >> if_patm_rtables), if someone else notices some more files please tell me >> about them and I add them to the filter. >> > For example if_ct.c and if_cp.c. They have to have the same code since > they written by the same authors, and both devices have almost the same > architecture. If I remove or would use the same prefix for DDK of both > adapters, I am sure, code would have more than 50% of the same code. ;-) And we can't put the common code into another file which either gets included (in case of macros), or linked (in case of functions) to the files in question? Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 Your object is to save the world, while still leading a pleasant life.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050203105803.31hpqdb7y80gwgkc>