mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-13 18:49:22 -04:00
staging: wilc1000: remove useless function
This patch remove useless function remove_TCP_related in wilc_wlan.c file Signed-off-by: Chris Park <chris.park@atmel.com> 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
133b22d694
commit
b2a45eae9f
@@ -206,15 +206,6 @@ static inline int add_tcp_pending_ack(u32 ack, u32 session_index,
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
static inline int remove_TCP_related(struct wilc *wilc)
|
||||
{
|
||||
unsigned long flags;
|
||||
|
||||
spin_lock_irqsave(&wilc->txq_spinlock, flags);
|
||||
|
||||
spin_unlock_irqrestore(&wilc->txq_spinlock, flags);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static inline int tcp_process(struct net_device *dev, struct txq_entry_t *tqe)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user