From: Nicholas Mc Guire Date: Wed, 4 Feb 2015 11:04:38 +0000 (-0500) Subject: staging: rtl8188eu: core: switch with redundant cases X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~83^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e971e8de383f91c418c924afd349766f33b20501;p=pandora-kernel.git staging: rtl8188eu: core: switch with redundant cases A few redundant switch cases as well as a redundant if/else within one of the cases was consolidated to a single call. The cases are intentionally retained for documentation purposes. case WIFI_REASSOCREQ,WIFI_PROBEREQ,WIFI_BEACON,WIFI_ACTION all have the same effect - notably the also for WIFI_PROBEREQ where the if/else is executing the same function. These redundant cases could all be dropped and consolidated into the default but probably it is better for documentation/readability to leave them in the switch/case explicitly. Signed-off-by: Nicholas Mc Guire Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed