mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-10 07:29:40 +00:00
rtl8188eu: Fix smatch warning in core/rtw_br_ext.c
Smatch reports the following warning: CHECK /home/finger/rtl8188eu/core/rtw_br_ext.c /home/finger/rtl8188eu/core/rtw_br_ext.c:693 nat25_db_handle() info: ignoring unreachable code. Remove an entra return statement. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
9d32703c93
commit
ccd4c72b62
1 changed files with 0 additions and 1 deletions
|
@ -690,7 +690,6 @@ int nat25_db_handle(struct adapter *priv, struct sk_buff *skb, int method)
|
||||||
if (!memcmp(skb->data+ETH_ALEN, ipx->ipx_source.node, ETH_ALEN))
|
if (!memcmp(skb->data+ETH_ALEN, ipx->ipx_source.node, ETH_ALEN))
|
||||||
DEBUG_INFO("NAT25: Check IPX skb_copy\n");
|
DEBUG_INFO("NAT25: Check IPX skb_copy\n");
|
||||||
return 0;
|
return 0;
|
||||||
return -1;
|
|
||||||
case NAT25_INSERT:
|
case NAT25_INSERT:
|
||||||
DEBUG_INFO("NAT25: Insert IPX, Dest =%08x,%02x%02x%02x%02x%02x%02x,%04x Source =%08x,%02x%02x%02x%02x%02x%02x,%04x\n",
|
DEBUG_INFO("NAT25: Insert IPX, Dest =%08x,%02x%02x%02x%02x%02x%02x,%04x Source =%08x,%02x%02x%02x%02x%02x%02x,%04x\n",
|
||||||
ipx->ipx_dest.net,
|
ipx->ipx_dest.net,
|
||||||
|
|
Loading…
Reference in a new issue