All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/7] staging: wilc1000: removes function 'init_tcp_tracking()'
@ 2016-03-15  9:48 Leo Kim
  2016-03-15  9:48 ` [PATCH 2/7] staging: wilc1000: wilc_spi.c: removes debug print log Leo Kim
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Leo Kim @ 2016-03-15  9:48 UTC (permalink / raw)
  To: gregkh
  Cc: devel, linux-wireless, tony.cho, glen.lee, leo.kim, austin.shin,
	Chris.Park, adham.abozaeid, Nicolas.FERRE

This patch removes function 'init_tcp_tracking()'.
The function is an unnecessary return.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
---
 drivers/staging/wilc1000/wilc_wlan.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.c
index fd938fb..ca9054a 100644
--- a/drivers/staging/wilc1000/wilc_wlan.c
+++ b/drivers/staging/wilc1000/wilc_wlan.c
@@ -150,11 +150,6 @@ static u32 pending_base;
 static u32 tcp_session;
 static u32 pending_acks;
 
-static inline int init_tcp_tracking(void)
-{
-	return 0;
-}
-
 static inline int add_tcp_session(u32 src_prt, u32 dst_prt, u32 seq)
 {
 	if (tcp_session < 2 * MAX_TCP_SESSION) {
@@ -1440,7 +1435,6 @@ int wilc_wlan_init(struct net_device *dev)
 		ret = -EIO;
 		goto _fail_;
 	}
-	init_tcp_tracking();
 
 	return 1;
 
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-03-15  9:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-15  9:48 [PATCH 1/7] staging: wilc1000: removes function 'init_tcp_tracking()' Leo Kim
2016-03-15  9:48 ` [PATCH 2/7] staging: wilc1000: wilc_spi.c: removes debug print log Leo Kim
2016-03-15  9:48 ` [PATCH 3/7] staging: wilc1000: removes duplicate vif variable setting Leo Kim
2016-03-15  9:48 ` [PATCH 4/7] staging: wilc1000: removes duplicate wilc " Leo Kim
2016-03-15  9:48 ` [PATCH 5/7] staging: wilc1000: changes an ambiguous debug messages Leo Kim
2016-03-15  9:48 ` [PATCH 6/7] staging: wilc1000: removes goto definitions from wilc_wlan_firmware_download Leo Kim
2016-03-15  9:48 ` [PATCH 7/7] staging: wilc1000: removes an unnecessary if-condition Leo Kim

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.