Skip to contentSkip to conversation

net/wan/n2.c: remove an unused function

PATCH In review Adrian Bunk 2 participants 3 messages Oct 29, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net/wan/n2.c: remove an unused function

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The patch below removes an unused function from drivers/net/wan/n2.c

diffstat output:

 drivers/net/wan/n2.c |    5 -----
 1 files changed, 5 deletions(-)

- --- linux-2.6.10-rc1-mm1-full/drivers/net/wan/n2.c.old 2004-10-28 23:20:08.000000000 +0200
+++ linux-2.6.10-rc1-mm1-full/drivers/net/wan/n2.c 2004-10-28 23:20:30.000000000 +0200
@@ -159,11 +159,6 @@
}

- -static __inline__ void close_windows(card_t *card)
- -{
- - outb(inb(card->io + N2_PCR) & ~PCR_ENWIN, card->io + N2_PCR);
- -}
- -

#include "hd6457x.c"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD4DBQFBgXvmmfzqmE8StAARAsS9AJdRPRqqWJy4EK11Q64LECq6wCFxAJ48ir7L Z19hK1ZCVfdLPDo4FAWqsA==
=/cPs
-----END PGP SIGNATURE-----

maintainer
#1 lore raw
Quoted 1 line · Adrian Bunk

The patch below removes an unused function from drivers/net/wan/n2.c

Right.

A similar thing, for C101 card.

drivers/net/wan/c101.c +0 -3
@@ -113,9 +113,6 @@
 }
 
 
-#define close_windows(card) {} /* no hardware support */
-
-
 #include "hd6457x.c"
 
 
#2 lore raw

PATCH 1/1 net/wan/n2.c: remove an unused function

In reply to Adrian Bunk

[ this time without the problems due to a digital signature... ]

The patch below removes an unused function from drivers/net/wan/n2.c

diffstat output:

 drivers/net/wan/n2.c |    5 -----
 1 files changed, 5 deletions(-)
drivers/net/wan/n2.c renamed from drivers/net/wan/n2.c.old +0 -5
@@ -159,11 +159,6 @@
 }
 
 
-static __inline__ void close_windows(card_t *card)
-{
-	outb(inb(card->io + N2_PCR) & ~PCR_ENWIN, card->io + N2_PCR);
-}
-
 
 #include "hd6457x.c"