[PATCH] drivers/isdn/sc/: possible cleanups

This patch contains the following possible cleanips:
- make some needlessly global code static
- remove the compiled but completely unused debug.c
- remove or #if 0 the following unused global functions:
  - command.c: loopback
  - command.c: loadproc
  - init.c: irq_supported
  - packet.c: print_skb
  - shmem.c: memset_shmem
  - timer.c: trace_timer

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Adrian Bunk
2005-06-25 14:58:34 -07:00
committed by Linus Torvalds
parent 594dd2c981
commit e3ca5e762c
9 changed files with 27 additions and 173 deletions

View File

@@ -32,7 +32,7 @@ extern int sendmessage(int, unsigned int, unsigned int, unsigned int,
/*
* Write the proper values into the I/O ports following a reset
*/
void setup_ports(int card)
static void setup_ports(int card)
{
outb((sc_adapter[card]->rambase >> 12), sc_adapter[card]->ioport[EXP_BASE]);
@@ -129,19 +129,3 @@ void check_phystat(unsigned long data)
ceReqPhyStatus,0,0,NULL);
}
/*
* When in trace mode, this callback is used to swap the working shared
* RAM page to the trace page(s) and process all received messages. It
* must be called often enough to get all of the messages out of RAM before
* it loops around.
* Trace messages are \n terminated strings.
* We output the messages in 64 byte chunks through readstat. Each chunk
* is scanned for a \n followed by a time stamp. If the timerstamp is older
* than the current time, scanning stops and the page and offset are recorded
* as the starting point the next time the trace timer is called. The final
* step is to restore the working page and reset the timer.
*/
void trace_timer(unsigned long data)
{
/* not implemented */
}