[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1421546666-21461-3-git-send-email-mathieu.poirier@linaro.org>
Date: Sat, 17 Jan 2015 19:04:24 -0700
From: mathieu.poirier@...aro.org
To: forest@...ttletooquiet.net, gregkh@...uxfoundation.org
Cc: devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
mathieu.poirier@...aro.org
Subject: [PATCH 2/4] staging: vt6655: removing dead function as reported by sparse
From: Mathieu Poirier <mathieu.poirier@...aro.org>
mpoirier@...0:~/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 <mathieu.poirier@...aro.org>
---
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:
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists