diff mbox

[U-Boot,13/17] net: eepro100: Fix unused variable warning

Message ID 1494296075-29477-13-git-send-email-trini@konsulko.com
State Accepted
Commit 63c6f1ce3c243695efc1049591198136348ea9b7
Delegated to: Tom Rini
Headers show

Commit Message

Tom Rini May 9, 2017, 2:14 a.m. UTC
The variable i82557_config_cmd is never referenced, drop.

Cc: Joe Hershberger <joe.hershberger@ni.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
---
 drivers/net/eepro100.c | 6 ------
 1 file changed, 6 deletions(-)

Comments

Tom Rini May 12, 2017, 5:22 p.m. UTC | #1
On Mon, May 08, 2017 at 10:14:31PM -0400, Tom Rini wrote:

> The variable i82557_config_cmd is never referenced, drop.
> 
> Cc: Joe Hershberger <joe.hershberger@ni.com>
> Signed-off-by: Tom Rini <trini@konsulko.com>

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/drivers/net/eepro100.c b/drivers/net/eepro100.c
index 0f350cba53e6..33d9fd6a57fd 100644
--- a/drivers/net/eepro100.c
+++ b/drivers/net/eepro100.c
@@ -207,12 +207,6 @@  static int tx_threshold;
  * There are so many options that it would be difficult to document
  * each bit. We mostly use the default or recommended settings.
  */
-static const char i82557_config_cmd[] = {
-	22, 0x08, 0, 0, 0, 0, 0x32, 0x03, 1,	/* 1=Use MII  0=Use AUI */
-	0, 0x2E, 0, 0x60, 0,
-	0xf2, 0x48, 0, 0x40, 0xf2, 0x80,	/* 0x40=Force full-duplex */
-	0x3f, 0x05,
-};
 static const char i82558_config_cmd[] = {
 	22, 0x08, 0, 1, 0, 0, 0x22, 0x03, 1,	/* 1=Use MII  0=Use AUI */
 	0, 0x2E, 0, 0x60, 0x08, 0x88,