projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3dac5a
)
staging: wilc1000: removes function 'init_tcp_tracking()'
author
Leo Kim
<leo.kim@atmel.com>
Tue, 15 Mar 2016 09:48:08 +0000
(18:48 +0900)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 28 Mar 2016 14:30:36 +0000
(07:30 -0700)
This patch removes function 'init_tcp_tracking()'.
The function is an unnecessary return.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wlan.c
patch
|
blob
|
history
diff --git
a/drivers/staging/wilc1000/wilc_wlan.c
b/drivers/staging/wilc1000/wilc_wlan.c
index fd938fb43dd3c7964b66ed5e7cf4dad951cfd524..ca9054a5ff88ee3117ff3f27b94f938082103bf6 100644
(file)
--- 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;