From: Larry Finger Date: Wed, 4 Sep 2013 20:55:57 +0000 (-0500) Subject: staging: r8188eu: Remove unreachable code in core/rtw_br_ext.c X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=95119067763c0340f39a9eb09ec5b0e35e6c8242;p=deliverable%2Flinux.git staging: r8188eu: Remove unreachable code in core/rtw_br_ext.c In this file, a "return -1" immediately follows a "return 0". Remove the second line. Signed-off-by: Larry Finger Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8188eu/core/rtw_br_ext.c b/drivers/staging/rtl8188eu/core/rtw_br_ext.c index fbca394cf4fc..63564f71c7c9 100644 --- a/drivers/staging/rtl8188eu/core/rtw_br_ext.c +++ b/drivers/staging/rtl8188eu/core/rtw_br_ext.c @@ -677,9 +677,8 @@ int nat25_db_handle(struct adapter *priv, struct sk_buff *skb, int method) switch (method) { case NAT25_CHECK: 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 -1; 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", ipx->ipx_dest.net,