staging:wlan-ng: remove default case in the p80211req_handlemsg
authorDevendra Naga <devendra.aaru@gmail.com>
Sun, 9 Sep 2012 13:10:55 +0000 (18:40 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Sep 2012 22:42:51 +0000 (15:42 -0700)
default is redundant and remove it

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/p80211req.c

index 179194e7d2aaaff731b4675f1016b604cc9ecee0..679299f8e3e8900dd8902d4874a154ca653f1c8d 100644 (file)
@@ -173,11 +173,7 @@ static void p80211req_handlemsg(wlandevice_t *wlandev, struct p80211msg *msg)
                            (struct p80211msg_dot11req_mibget *) msg;
                        p80211req_mibset_mibget(wlandev, mib_msg, isget);
                }
-       default:
-               ;
        }                       /* switch msg->msgcode */
-
-       return;
 }
 
 static int p80211req_mibset_mibget(wlandevice_t *wlandev,