diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-10-02 22:31:19 +0200 |
---|---|---|
committer | Alexey Dobriyan <adobriyan@gmail.com> | 2008-10-10 02:18:56 +0200 |
commit | a70973c2141f98e2046f7ce9a29774bf254cf70f (patch) | |
tree | 36f5ffd3a1fbcf111ab456405e9d86d9c29d770d /arch | |
parent | proc: remove dummy vmcore_open() (diff) | |
download | linux-a70973c2141f98e2046f7ce9a29774bf254cf70f.tar.xz linux-a70973c2141f98e2046f7ce9a29774bf254cf70f.zip |
proc: remove unused get_dma_list()
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/kernel/dma.c | 17 | ||||
-rw-r--r-- | arch/sparc/include/asm/dma_32.h | 1 |
2 files changed, 0 insertions, 18 deletions
diff --git a/arch/arm/kernel/dma.c b/arch/arm/kernel/dma.c index ba99a2035523..d006085ed7e7 100644 --- a/arch/arm/kernel/dma.c +++ b/arch/arm/kernel/dma.c @@ -26,23 +26,6 @@ EXPORT_SYMBOL(dma_spin_lock); static dma_t dma_chan[MAX_DMA_CHANNELS]; /* - * Get dma list for /proc/dma - */ -int get_dma_list(char *buf) -{ - dma_t *dma; - char *p = buf; - int i; - - for (i = 0, dma = dma_chan; i < MAX_DMA_CHANNELS; i++, dma++) - if (dma->lock) - p += sprintf(p, "%2d: %14s %s\n", i, - dma->d_ops->type, dma->device_id); - - return p - buf; -} - -/* * Request DMA channel * * On certain platforms, we have to allocate an interrupt as well... diff --git a/arch/sparc/include/asm/dma_32.h b/arch/sparc/include/asm/dma_32.h index cf7189c0079b..7fa752959b93 100644 --- a/arch/sparc/include/asm/dma_32.h +++ b/arch/sparc/include/asm/dma_32.h @@ -231,7 +231,6 @@ static inline void sparc_dma_pause(struct sparc_dma_registers *regs, #define for_each_dvma(dma) \ for((dma) = dma_chain; (dma); (dma) = (dma)->next) -extern int get_dma_list(char *); extern int request_dma(unsigned int, __const__ char *); extern void free_dma(unsigned int); |