Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1470919

Re: [PATCH v2] Staging: wlan-ng: replace switch-case statements with macro

From Joe Perches <joe@perches.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2] Staging: wlan-ng: replace switch-case statements with macro
Date 2016-08-26 20:10 +0200
Message-ID <satJM-22D-15@gated-at.bofh.it> (permalink)
References <satA6-1Kj-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, 2016-08-26 at 20:58 +0300, Claudiu Beznea wrote:
> This patch removes multiple switch-case statements
> with a new macro. The macro will generate the
> corresponding bit mask based on the key index
> received as input.

Can you go a little farther and remove the
#define DIDmib_dot11smt_dot11WEPDefaultKeysTable_dot11WEPDefaultKey<#>
and uses too?

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2] Staging: wlan-ng: replace switch-case statements with macro Claudiu Beznea <claudiu.beznea@gmail.com> - 2016-08-26 20:00 +0200
  Re: [PATCH v2] Staging: wlan-ng: replace switch-case statements  with macro Joe Perches <joe@perches.com> - 2016-08-26 20:10 +0200
    Re: [PATCH v2] Staging: wlan-ng: replace switch-case statements with macro Claudiu Beznea <claudiu.beznea@gmail.com> - 2016-08-26 20:50 +0200

csiph-web