mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-14 06:30:20 -04:00
staging: wilc1000: removes function 'init_tcp_tracking()'
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
a3dac5a35c
commit
6422ea03f3
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user