diff options
author | Viral Mehta <viral.mehta@einfochips.com> | 2009-05-05 15:54:23 +0530 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2009-05-19 10:20:25 +1000 |
commit | 600ee3c2f25901ba9ec161b240a571f5bc629d0f (patch) | |
tree | 3a5884dcdc16fceabf105a835def4c1149a3eec9 /drivers/staging/rt2860/common/mlme.c | |
parent | a82cd975a7bc898566fd3dc728f1850f8d0c2d44 (diff) |
USB: xhci: replace if-elseif-else with switch-case
Replace if-elseif-else with switch-case
to keep the code consistent which is semantically same
Switch-case is used here,
http://www.spinics.net/lists/linux-usb/msg17201.html
Making consistent at other places in usb/core
Also easier to read and maintain when USB4.0, 5.0, ... comes
Signed-off-by: Viral Mehta <viral.mehta@einfochips.com>
Tested-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/rt2860/common/mlme.c')
0 files changed, 0 insertions, 0 deletions