Re: [PATCH 1/3] [net/core] move dev_mc_discard from dev_mcast.c todev.c

From: David Miller
Date: Wed Jul 18 2007 - 06:03:21 EST


From: "rae l" <crquan@xxxxxxxxx>
Date: Wed, 18 Jul 2007 17:59:52 +0800

> And then the dev_mcast.c is now only 256 lines long(versus dev.c 4052 lines),
> just left a few multicast related functions definition and "dev_mcast"
> procfs code,
> I have an idea to merge all code dev_mcast.c into dev.c, that would:
>
> - remove two functions (__dev_addr_delete, __dev_set_rx_mode) from netdevice.h,
> and then tag them static,
> those two are also defined in dev.c and only called from dev_mcast.c,
>
> - reducing one file would benefit the compilation process.
>
> All in one word, I don't think the single file dev_mcast.c is needed anymore.

Agreed.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/