2004-10-29 02:43:31

by Adrian Bunk

[permalink] [raw]
Subject: [2.6 patch] 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(-)


Signed-off-by: Adrian Bunk <[email protected]>

- --- 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-----


2004-10-29 00:29:21

by Krzysztof Halasa

[permalink] [raw]
Subject: Re: [2.6 patch] net/wan/n2.c: remove an unused function

Adrian Bunk <[email protected]> writes:

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

Right.

A similar thing, for C101 card.
Signed-off-by: Krzysztof Halasa <[email protected]>
--- linux-2.6/drivers/net/wan/c101.c 20 Oct 2004 01:26:30 -0000 1.15
+++ linux-2.6/drivers/net/wan/c101.c 29 Oct 2004 00:18:31 -0000
@@ -113,9 +113,6 @@
}


-#define close_windows(card) {} /* no hardware support */
-
-
#include "hd6457x.c"




2004-10-29 00:42:46

by Adrian Bunk

[permalink] [raw]
Subject: [2.6 patch] net/wan/n2.c: remove an unused function

[ 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(-)


Signed-off-by: Adrian Bunk <[email protected]>

--- 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"