From patchwork Sun Jan 18 02:04:24 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Poirier X-Patchwork-Id: 43268 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f70.google.com (mail-la0-f70.google.com [209.85.215.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id CCD6D240BA for ; Sun, 18 Jan 2015 02:05:41 +0000 (UTC) Received: by mail-la0-f70.google.com with SMTP id hs14sf14051620lab.1 for ; Sat, 17 Jan 2015 18:05:40 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=WSEu+ZSG7ctvU/Ynf9c1CJuGKgTz44ZKUKoDMH8Bq20=; b=BCPELQSt4mx7poZbJCS1xTvOH/Vpp+Q8GcVJ0j0MyH6O1tra3fWmiQ5B0SC9XD4xg9 6bmwSltbHI9x3PDeIlovUOmZvqdBJefIdktV+qOylb+NkCh0vTO91rlxgWtV00I5jJ3V LHXuZHTysdkTTARdIGuJDLgdvWoFDj+9l8W+LxtdGsRMmc/RjzYyQCTzrpTH/sNPJRFU u/ej7uhQ7P8Yca+556abM4V2vXooHa1qHt3f6yMz9oYmxXw8IHl+tLWDLQgwe0gGc4LC Bg2rqnOsIftDXZ11QoQHJGCkJI14ES0tpyQ6Sg7XX7se5cxgG5fBFOBUp/c8asKYCWx2 W1Wg== X-Gm-Message-State: ALoCoQkSGhN+nuI/oh4AKh7h047iTTMOq6e17AaldGOjxKaCcqnCHLrvp3xGnRRpFtDwLE2JshLk X-Received: by 10.180.89.211 with SMTP id bq19mr1241796wib.4.1421546740750; Sat, 17 Jan 2015 18:05:40 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.170.202 with SMTP id ao10ls508510lac.59.gmail; Sat, 17 Jan 2015 18:05:40 -0800 (PST) X-Received: by 10.152.164.232 with SMTP id yt8mr23052662lab.7.1421546740396; Sat, 17 Jan 2015 18:05:40 -0800 (PST) Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com. [209.85.217.181]) by mx.google.com with ESMTPS id kl8si6952365lbc.86.2015.01.17.18.05.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 17 Jan 2015 18:05:40 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.181 as permitted sender) client-ip=209.85.217.181; Received: by mail-lb0-f181.google.com with SMTP id u14so14053455lbd.12 for ; Sat, 17 Jan 2015 18:05:40 -0800 (PST) X-Received: by 10.112.84.225 with SMTP id c1mr22764049lbz.22.1421546740281; Sat, 17 Jan 2015 18:05:40 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.9.200 with SMTP id c8csp716291lbb; Sat, 17 Jan 2015 18:05:39 -0800 (PST) X-Received: by 10.66.161.103 with SMTP id xr7mr34042117pab.141.1421546738455; Sat, 17 Jan 2015 18:05:38 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id lo1si10704446pab.201.2015.01.17.18.05.37; Sat, 17 Jan 2015 18:05:38 -0800 (PST) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752166AbbARCFQ (ORCPT + 28 others); Sat, 17 Jan 2015 21:05:16 -0500 Received: from mail-pd0-f173.google.com ([209.85.192.173]:33313 "EHLO mail-pd0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751914AbbARCE5 (ORCPT ); Sat, 17 Jan 2015 21:04:57 -0500 Received: by mail-pd0-f173.google.com with SMTP id fp1so4919898pdb.4 for ; Sat, 17 Jan 2015 18:04:56 -0800 (PST) X-Received: by 10.68.135.102 with SMTP id pr6mr33548069pbb.136.1421546696743; Sat, 17 Jan 2015 18:04:56 -0800 (PST) Received: from t430.cg.shawcable.net (S0106002369de4dac.cg.shawcable.net. [70.73.24.112]) by mx.google.com with ESMTPSA id zk9sm7852666pac.1.2015.01.17.18.04.55 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 17 Jan 2015 18:04:56 -0800 (PST) From: mathieu.poirier@linaro.org To: forest@alittletooquiet.net, gregkh@linuxfoundation.org Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, mathieu.poirier@linaro.org Subject: [PATCH 2/4] staging: vt6655: removing dead function as reported by sparse Date: Sat, 17 Jan 2015 19:04:24 -0700 Message-Id: <1421546666-21461-3-git-send-email-mathieu.poirier@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1421546666-21461-1-git-send-email-mathieu.poirier@linaro.org> References: <1421546666-21461-1-git-send-email-mathieu.poirier@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: mathieu.poirier@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.181 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Mathieu Poirier mpoirier@t430:~/work/kernel1$ make C=1 M=drivers/staging/vt6655/ CHECK drivers/staging/vt6655/mac.c drivers/staging/vt6655/mac.c:162:6: warning: symbol 'MACvGetShortRetryLimit' was not declared. Should it be static? CC [M] drivers/staging/vt6655/mac.o Commit: 87299d4c06f0 staging: vt6655: mac.c and mac.h remove dead functions. removes a lot of "dead" functions but forgot @MACvGetShortRetryLimit. Signed-off-by: Mathieu Poirier --- drivers/staging/vt6655/mac.c | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/drivers/staging/vt6655/mac.c b/drivers/staging/vt6655/mac.c index 8f0d652fea7c..7402a2b272b0 100644 --- a/drivers/staging/vt6655/mac.c +++ b/drivers/staging/vt6655/mac.c @@ -148,25 +148,6 @@ void MACvSetShortRetryLimit(void __iomem *dwIoBase, unsigned char byRetryLimit) /* * Description: - * Get 802.11 Short Retry Limit - * - * Parameters: - * In: - * dwIoBase - Base Address for MAC - * Out: - * pbyRetryLimit - Retry Limit Get - * - * Return Value: none - * - */ -void MACvGetShortRetryLimit(void __iomem *dwIoBase, unsigned char *pbyRetryLimit) -{ - // get SRT - VNSvInPortB(dwIoBase + MAC_REG_SRT, pbyRetryLimit); -} - -/* - * Description: * Set 802.11 Long Retry Limit * * Parameters: