]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
proc: remove unused get_dma_list()
authorAlexey Dobriyan <adobriyan@gmail.com>
Thu, 2 Oct 2008 20:31:19 +0000 (00:31 +0400)
committerAlexey Dobriyan <adobriyan@gmail.com>
Fri, 10 Oct 2008 00:18:56 +0000 (04:18 +0400)
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
arch/arm/kernel/dma.c
arch/sparc/include/asm/dma_32.h
fs/proc/proc_misc.c

index ba99a20355236a06491922a63e0ef745f0bcfcc5..d006085ed7e7b882966510d09695fbb4b1a6091a 100644 (file)
@@ -25,23 +25,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
  *
index cf7189c0079b2c3b6b46c02b65e53d70caddd506..7fa752959b932f3d577f8c82d010d22f0853e78c 100644 (file)
@@ -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);
 
index 29e20c6b1f7f75bd9d29de8589648985bad5f4a3..66c1ab87656c24adfe3342f702b4243d3c5f02da 100644 (file)
@@ -68,7 +68,6 @@
 extern int get_hardware_list(char *);
 extern int get_stram_list(char *);
 extern int get_exec_domain_list(char *);
-extern int get_dma_list(char *);
 
 static int proc_calc_metrics(char *page, char **start, off_t off,
                                 int count, int *eof, int len)