浏览代码

staging:wlan-ng: remove default case in the p80211req_handlemsg

default is redundant and remove it

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Devendra Naga 13 年之前
父节点
当前提交
c3016c45df
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0 4
      drivers/staging/wlan-ng/p80211req.c

+ 0 - 4
drivers/staging/wlan-ng/p80211req.c

@@ -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,