Messages in this thread | | | Date | Fri, 18 Mar 2005 10:55:01 -0500 | From | "John W. Linville" <> | Subject | Re: [PATCH] DM9000 network driver |
| |
On Fri, Mar 18, 2005 at 10:25:54AM -0500, Lennart Sorensen wrote: > On Fri, Mar 18, 2005 at 08:41:52PM +0530, Hong Kong Phoey wrote:
> > switch(foo) { > > > > case 1: > > f1(); > > case2 : > > f2(); > > }; > > > > could well become > > > > void (*func)[] = { f1, f2 }; > > > > func(i); > > Ewww!
My thoughts exactly...there might be a place for something like that, but I don't think this is it...
John -- John W. Linville linville@tuxdriver.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |