Re: [PATCH] d80211: clean up those huge else if statements; use BUILD_BUG_ON

2006-09-21 Thread Jiri Benc
On Wed, 30 Aug 2006 10:41:00 +0200, Johannes Berg wrote: > This patch replaces the if (...) else if (...) else if (...) ... > statements I complained about earlier with switches. On Wed, 30 Aug 2006 10:39:30 +0200, Johannes Berg wrote: > This patch makes d80211 use BUILD_BUG_ON instead of checking

[PATCH] d80211: clean up those huge else if statements

2006-08-30 Thread Johannes Berg
This patch replaces the if (...) else if (...) else if (...) ... statements I complained about earlier with switches. Signed-off-by: Johannes Berg <[EMAIL PROTECTED]> --- wireless-dev.orig/net/d80211/ieee80211_ioctl.c 2006-08-25 22:49:45.518728753 +0200 +++ wireless-dev/net/d80211/ieee80211