mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: navin patidar <navin.patidar@gmail.com>
To: gregkh@linuxfoundation.org
Cc: Larry.Finger@lwfinger.net, devel@driverdev.osuosl.org,
	linux-kernel@vger.kernel.org,
	navin patidar <navin.patidar@gmail.com>
Subject: [PATCH 26/26] staging: rtl8188eu: Remove function with empty defination()
Date: Sun,  1 Jun 2014 17:46:52 +0530	[thread overview]
Message-ID: <1401625013-11208-26-git-send-email-navin.patidar@gmail.com> (raw)
In-Reply-To: <1401625013-11208-1-git-send-email-navin.patidar@gmail.com>


Signed-off-by: navin patidar <navin.patidar@gmail.com>
---
 drivers/staging/rtl8188eu/core/rtw_br_ext.c |   12 ------------
 1 file changed, 12 deletions(-)

diff --git a/drivers/staging/rtl8188eu/core/rtw_br_ext.c b/drivers/staging/rtl8188eu/core/rtw_br_ext.c
index 3f602bc..70b8f07 100644
--- a/drivers/staging/rtl8188eu/core/rtw_br_ext.c
+++ b/drivers/staging/rtl8188eu/core/rtw_br_ext.c
@@ -431,10 +431,6 @@ static void __nat25_db_network_insert(struct adapter *priv,
 	spin_unlock_bh(&priv->br_ext_lock);
 }
 
-static void __nat25_db_print(struct adapter *priv)
-{
-}
-
 /*
  *	NAT2.5 interface
  */
@@ -534,7 +530,6 @@ int nat25_db_handle(struct adapter *priv, struct sk_buff *skb, int method)
 			/* record source IP address and , source mac address into db */
 			__nat25_db_network_insert(priv, skb->data+ETH_ALEN, networkAddr);
 
-			__nat25_db_print(priv);
 			return 0;
 		case NAT25_LOOKUP:
 			DEBUG_INFO("NAT25: Lookup IP, SA =%08x, DA =%08x\n", iph->saddr, iph->daddr);
@@ -587,7 +582,6 @@ int nat25_db_handle(struct adapter *priv, struct sk_buff *skb, int method)
 			sender = (unsigned int *)arp_ptr;
 			__nat25_generate_ipv4_network_addr(networkAddr, sender);
 			__nat25_db_network_insert(priv, skb->data+ETH_ALEN, networkAddr);
-			__nat25_db_print(priv);
 			return 0;
 		case NAT25_LOOKUP:
 			DEBUG_INFO("NAT25: Lookup ARP\n");
@@ -707,7 +701,6 @@ int nat25_db_handle(struct adapter *priv, struct sk_buff *skb, int method)
 					__nat25_generate_ipx_network_addr_with_node(networkAddr, &ipx->ipx_source.net, ipx->ipx_source.node);
 				}
 				__nat25_db_network_insert(priv, skb->data+ETH_ALEN, networkAddr);
-				__nat25_db_print(priv);
 				return 0;
 			case NAT25_LOOKUP:
 				if (!memcmp(GET_MY_HWADDR(priv), ipx->ipx_dest.node, ETH_ALEN)) {
@@ -752,7 +745,6 @@ int nat25_db_handle(struct adapter *priv, struct sk_buff *skb, int method)
 
 				__nat25_db_network_insert(priv, skb->data+ETH_ALEN, networkAddr);
 
-				__nat25_db_print(priv);
 				return 0;
 			case NAT25_LOOKUP:
 				DEBUG_INFO("NAT25: Lookup AARP, Source =%d,%d Destination =%d,%d\n",
@@ -786,7 +778,6 @@ int nat25_db_handle(struct adapter *priv, struct sk_buff *skb, int method)
 
 				__nat25_db_network_insert(priv, skb->data+ETH_ALEN, networkAddr);
 
-				__nat25_db_print(priv);
 				return 0;
 			case NAT25_LOOKUP:
 				DEBUG_INFO("NAT25: Lookup DDP, Source =%d,%d Destination =%d,%d\n",
@@ -879,7 +870,6 @@ int nat25_db_handle(struct adapter *priv, struct sk_buff *skb, int method)
 
 				__nat25_db_network_insert(priv, skb->data+ETH_ALEN, networkAddr);
 
-				__nat25_db_print(priv);
 
 				if (!priv->ethBrExtInfo.addPPPoETag &&
 				    priv->pppoe_connection_in_progress &&
@@ -945,7 +935,6 @@ int nat25_db_handle(struct adapter *priv, struct sk_buff *skb, int method)
 					DEBUG_INFO("NAT25: Lookup PPPoE, lookup session packet from %s\n", skb->dev->name);
 					__nat25_generate_pppoe_network_addr(networkAddr, skb->data+ETH_ALEN, &(ph->sid));
 					__nat25_db_network_lookup_and_replace(priv, skb, networkAddr);
-					__nat25_db_print(priv);
 				} else {
 					return -1;
 				}
@@ -1009,7 +998,6 @@ int nat25_db_handle(struct adapter *priv, struct sk_buff *skb, int method)
 			if (memcmp(&iph->saddr, "\x0\x0\x0\x0\x0\x0\x0\x0\x0\x0\x0\x0\x0\x0\x0\x0", 16)) {
 				__nat25_generate_ipv6_network_addr(networkAddr, (__be32 *)&iph->saddr);
 				__nat25_db_network_insert(priv, skb->data+ETH_ALEN, networkAddr);
-				__nat25_db_print(priv);
 
 				if (iph->nexthdr == IPPROTO_ICMPV6 &&
 						skb->len > (ETH_HLEN +  sizeof(*iph) + 4)) {
-- 
1.7.10.4


  parent reply	other threads:[~2014-06-01 12:20 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-01 12:16 [PATCH 01/26] staging: rtl8188eu: Remove function with empty defination ODM_ResetIQKResult() navin patidar
2014-06-01 12:16 ` [PATCH 02/26] staging :rtl8188eu: Remove HalPhyRf.[h|c] files navin patidar
2014-06-01 12:16 ` [PATCH 03/26] staging: rtl8188eu: Remove header file rtw_version.h navin patidar
2014-06-01 12:16 ` [PATCH 04/26] staging: rtl8188eu: Remove hw_init_mutex from struct rtw_usb_drv navin patidar
2014-06-01 12:16 ` [PATCH 05/26] staging: rtl8188eu: Use unregistering flag from struct usb_interface navin patidar
2014-06-01 12:16 ` [PATCH 06/26] staging : rtl8188eu: Remove drv_registered from struct rtw_usb_drv navin patidar
2014-06-01 12:16 ` [PATCH 07/26] staging: rtl8188eu: Remove " navin patidar
2014-06-01 12:16 ` [PATCH 08/26] staging: rtl8188eu: Use module_usb_driver() macro navin patidar
2014-06-01 12:16 ` [PATCH 09/26] staging: rtl8188eu: Remove function declarations in usb_intf.c navin patidar
2014-06-01 12:16 ` [PATCH 10/26] staging: rtl8188eu: Remove unused stucture defination struct specific_device_id navin patidar
2014-06-01 12:16 ` [PATCH 11/26] staging: rtl8188eu: Remove unused enum navin patidar
2014-06-01 12:16 ` [PATCH 12/26] staging: rtl8188eu: Remove unused members of struct dvobj_priv navin patidar
2014-06-01 12:16 ` [PATCH 13/26] staging: rtl8188eu: Remove usb_suspend_sema from " navin patidar
2014-06-01 12:16 ` [PATCH 14/26] staging: rtl8188eu: Remove usb_alloc_vendor_req_buf " navin patidar
2014-06-01 12:16 ` [PATCH 15/26] staging: rtl8188eu: Remove unused enum _ADAPTER_TYPE navin patidar
2014-06-01 12:16 ` [PATCH 16/26] staging: rtl8188eu: Remove unused enum _IFACE_TYPE navin patidar
2014-06-01 12:16 ` [PATCH 17/26] staging: rtl8188eu: Remove enum driver_state navin patidar
2014-06-01 12:16 ` [PATCH 18/26] staging: rtl8188eu: Remove DriverState from struct adapter navin patidar
2014-06-01 12:16 ` [PATCH 19/26] staging: rtl8188eu: Remove unused function rtl8188e_clone_haldata() navin patidar
2014-06-01 12:16 ` [PATCH 20/26] staging: rtl8188eu: Remove hal_data_sz from struct adapter navin patidar
2014-06-01 12:16 ` [PATCH 21/26] staging: rtl8188eu: Remove unused member variable of " navin patidar
2014-06-01 12:16 ` [PATCH 22/26] staging: rtl8188eu:Remove EepromAddressSize from " navin patidar
2014-06-01 12:16 ` [PATCH 23/26] staging: rtl8188eu: Remove pbuddy_adapter " navin patidar
2014-06-01 12:16 ` [PATCH 24/26] staging: rtl8188eu: Remove bCardDisableWOHSM " navin patidar
2014-06-01 12:16 ` [PATCH 25/26] staging: rtl8188eu: Remove unused function nat25_handle_frame() navin patidar
2014-06-08 14:04   ` [PATCH v2 " navin patidar
2014-06-01 12:16 ` navin patidar [this message]
2014-06-02  9:08   ` [PATCH 26/26] staging: rtl8188eu: Remove function with empty defination() Dan Carpenter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1401625013-11208-26-git-send-email-navin.patidar@gmail.com \
    --to=navin.patidar@gmail.com \
    --cc=Larry.Finger@lwfinger.net \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome