diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-10-02 16:31:19 -0400 |
---|---|---|
committer | Alexey Dobriyan <adobriyan@gmail.com> | 2008-10-09 20:18:56 -0400 |
commit | a70973c2141f98e2046f7ce9a29774bf254cf70f (patch) | |
tree | 36f5ffd3a1fbcf111ab456405e9d86d9c29d770d /arch/arm/kernel | |
parent | a04f4de6412a4f0ababf9f665674414f26d4cb6e (diff) |
proc: remove unused get_dma_list()
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Diffstat (limited to 'arch/arm/kernel')
-rw-r--r-- | arch/arm/kernel/dma.c | 17 |
1 files changed, 0 insertions, 17 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); | |||
26 | static dma_t dma_chan[MAX_DMA_CHANNELS]; | 26 | static dma_t dma_chan[MAX_DMA_CHANNELS]; |
27 | 27 | ||
28 | /* | 28 | /* |
29 | * Get dma list for /proc/dma | ||
30 | */ | ||
31 | int get_dma_list(char *buf) | ||
32 | { | ||
33 | dma_t *dma; | ||
34 | char *p = buf; | ||
35 | int i; | ||
36 | |||
37 | for (i = 0, dma = dma_chan; i < MAX_DMA_CHANNELS; i++, dma++) | ||
38 | if (dma->lock) | ||
39 | p += sprintf(p, "%2d: %14s %s\n", i, | ||
40 | dma->d_ops->type, dma->device_id); | ||
41 | |||
42 | return p - buf; | ||
43 | } | ||
44 | |||
45 | /* | ||
46 | * Request DMA channel | 29 | * Request DMA channel |
47 | * | 30 | * |
48 | * On certain platforms, we have to allocate an interrupt as well... | 31 | * On certain platforms, we have to allocate an interrupt as well... |