Return-path: Received: from eusmtp01.atmel.com ([212.144.249.242]:40509 "EHLO eusmtp01.atmel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752695AbcA2Gy2 (ORCPT ); Fri, 29 Jan 2016 01:54:28 -0500 From: Leo Kim To: CC: , , , , , , , , , Chris Park Subject: [PATCH 3/6] staging: wilc1000: remove useless function Date: Fri, 29 Jan 2016 15:51:35 +0900 Message-ID: <1454050298-25815-3-git-send-email-leo.kim@atmel.com> (sfid-20160129_075431_297911_1ACCB8FE) In-Reply-To: <1454050298-25815-1-git-send-email-leo.kim@atmel.com> References: <1454050298-25815-1-git-send-email-leo.kim@atmel.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-wireless-owner@vger.kernel.org List-ID: From: Chris Park This patch remove useless function remove_TCP_related in wilc_wlan.c file Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_wlan.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.c index 30e3c21..7b3a260 100644 --- a/drivers/staging/wilc1000/wilc_wlan.c +++ b/drivers/staging/wilc1000/wilc_wlan.c @@ -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) { -- 1.9.1