From patchwork Wed Dec 24 05:55:21 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Tulia X-Patchwork-Id: 5536401 Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id BFD1A9F2E2 for ; Wed, 24 Dec 2014 05:55:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D9C4B201C0 for ; Wed, 24 Dec 2014 05:55:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 837C7201BC for ; Wed, 24 Dec 2014 05:55:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751065AbaLXFz0 (ORCPT ); Wed, 24 Dec 2014 00:55:26 -0500 Received: from mail-wg0-f47.google.com ([74.125.82.47]:60440 "EHLO mail-wg0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750963AbaLXFz0 (ORCPT ); Wed, 24 Dec 2014 00:55:26 -0500 Received: by mail-wg0-f47.google.com with SMTP id n12so10577919wgh.34 for ; Tue, 23 Dec 2014 21:55:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=wOwIGtoombQzYPD+XVXAj1NO0yJ0rxQwfVRgFgaUwQU=; b=c9cI+aJ2MEW97/3DVd5mB55kQmfH8WFsU7ElTAacNhWP6dZV1EmpYoD+v9qwwVEi8t jbLS8wrwzY89j3nH6qTinOBdVNIrL22qMGVpr4xzRn5/gA7xICzliN/Oqk57PJtqmVVA lG640mp6YgSPOwxAjEBdWiO/T7HkZdKt1Q8ZdPDY+Q/hwF02UpHuPqrUQ5irPOE+YV1V cIZwx7IAwx1LI/35ZHRcbgEO/EvhYsLJeCgYm9d23nHzc8WmnNw7foTN8A1j5BueAy9i OWlny//goHDUfbl9i6Tu0WMXlNQ8OmNTm5grVhsF4VIBAEnTwUVUe/F19ZVyMKFcI7xA j7OQ== X-Received: by 10.194.90.193 with SMTP id by1mr61375128wjb.12.1419400524847; Tue, 23 Dec 2014 21:55:24 -0800 (PST) Received: from epbyminw1710.minsk.epam.com ([86.57.255.92]) by mx.google.com with ESMTPSA id dn2sm10056031wib.14.2014.12.23.21.55.23 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 23 Dec 2014 21:55:24 -0800 (PST) From: Aliaskei Tulia X-Google-Original-From: Aliaskei Tulia Date: Wed, 24 Dec 2014 08:55:21 +0300 To: Larry Finger , Jes Sorensen Cc: Greg Kroah-Hartman , linux-wireless@vger.kernel.org, devel@driverdev.osuosl.org Subject: [PATCH v2] staging: rtl8723au: fix sparse warning Message-ID: <20141224055521.GA16313@epbyminw1710.minsk.epam.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP drivers/staging/rtl8723au/core/rtw_xmit.c:2375 warning: symbol 'rtw_ack_tx_done23a' was not declared. Should it be static? Function 'rtw_ack_tx_done23a' seems to be unused in current staging code. Signed-off-by: Aliaskei Tulia --- drivers/staging/rtl8723au/core/rtw_xmit.c | 9 --------- 1 file changed, 9 deletions(-) -- 2.1.0 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/staging/rtl8723au/core/rtw_xmit.c b/drivers/staging/rtl8723au/core/rtw_xmit.c index 7a5e6bf..1c82dff 100644 --- a/drivers/staging/rtl8723au/core/rtw_xmit.c +++ b/drivers/staging/rtl8723au/core/rtw_xmit.c @@ -2372,12 +2372,3 @@ int rtw_ack_tx_wait23a(struct xmit_priv *pxmitpriv, u32 timeout_ms) return rtw_sctx_wait23a(pack_tx_ops); } -void rtw_ack_tx_done23a(struct xmit_priv *pxmitpriv, int status) -{ - struct submit_ctx *pack_tx_ops = &pxmitpriv->ack_tx_ops; - - if (pxmitpriv->ack_tx) - rtw23a_sctx_done_err(&pack_tx_ops, status); - else - DBG_8723A("%s ack_tx not set\n", __func__); -}