From patchwork Mon Dec 22 16:32:47 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Tulia X-Patchwork-Id: 5528181 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 7E78E9F326 for ; Mon, 22 Dec 2014 16:32:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B45D52017A for ; Mon, 22 Dec 2014 16:32:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E194320165 for ; Mon, 22 Dec 2014 16:32:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755000AbaLVQcw (ORCPT ); Mon, 22 Dec 2014 11:32:52 -0500 Received: from mail-wg0-f45.google.com ([74.125.82.45]:58588 "EHLO mail-wg0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754868AbaLVQcv (ORCPT ); Mon, 22 Dec 2014 11:32:51 -0500 Received: by mail-wg0-f45.google.com with SMTP id b13so7069114wgh.32 for ; Mon, 22 Dec 2014 08:32:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=e06irsylOnYgb2RN0KfUiRWQF7N297evJMBxuPSlOTg=; b=BOVecZ12kdEzSsKhlr093HQBk0IMOZBfSxXs6TX85WQ/1uJoIfWr2KFfGkYMT/AcXK sOQVlFZ2iaFUb88P8AZD+q/QCPXKR8MBjrkkVL4cCY5VZE0rzdEDb8Tw356G6ED9/Il5 aL23ov87IGcDPP4AFKLLaRhwHDTy93IUk8ZuIxkjTL2ANOj0Gk6AZYgI4ejUXUKY+v/o gVMV0LSs8fJVLfPgvERkhk5rgIKxXg8flbrgd1ew3OowSTbrB1pnR3JR/S0afgA8qMEC 1BmtgkOl6b8LntGnTfhko4C80ufg6j6xbw76TjS8riut3nG1eISyCHSRcCc19HX8yfmb 4DYw== X-Received: by 10.194.2.178 with SMTP id 18mr43357659wjv.67.1419265970297; Mon, 22 Dec 2014 08:32:50 -0800 (PST) Received: from epbyminw1710.minsk.epam.com ([86.57.255.92]) by mx.google.com with ESMTPSA id t6sm24271286wjf.49.2014.12.22.08.32.48 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 22 Dec 2014 08:32:49 -0800 (PST) Date: Mon, 22 Dec 2014 19:32:47 +0300 From: Alexey Tulia To: Larry Finger , Jes Sorensen Cc: Greg Kroah-Hartman , linux-wireless@vger.kernel.org, devel@driverdev.osuosl.org Subject: [PATCH] staging: rtl8723au: fix sparse warning Message-ID: <20141222163247.GA25707@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 'rtl8723a_EfusePgPacketRead' was not declared. Should it be static? Function 'rtw_ack_tx_done23a' seems to be unused in current staging code. Signed-off-by: Alexey 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__); -}