proc: remove unused get_dma_list()
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
This commit is contained in:
parent
a04f4de641
commit
a70973c214
|
@ -25,23 +25,6 @@ EXPORT_SYMBOL(dma_spin_lock);
|
||||||
|
|
||||||
static dma_t dma_chan[MAX_DMA_CHANNELS];
|
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
|
* Request DMA channel
|
||||||
*
|
*
|
||||||
|
|
|
@ -231,7 +231,6 @@ static inline void sparc_dma_pause(struct sparc_dma_registers *regs,
|
||||||
#define for_each_dvma(dma) \
|
#define for_each_dvma(dma) \
|
||||||
for((dma) = dma_chain; (dma); (dma) = (dma)->next)
|
for((dma) = dma_chain; (dma); (dma) = (dma)->next)
|
||||||
|
|
||||||
extern int get_dma_list(char *);
|
|
||||||
extern int request_dma(unsigned int, __const__ char *);
|
extern int request_dma(unsigned int, __const__ char *);
|
||||||
extern void free_dma(unsigned int);
|
extern void free_dma(unsigned int);
|
||||||
|
|
||||||
|
|
|
@ -68,7 +68,6 @@
|
||||||
extern int get_hardware_list(char *);
|
extern int get_hardware_list(char *);
|
||||||
extern int get_stram_list(char *);
|
extern int get_stram_list(char *);
|
||||||
extern int get_exec_domain_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,
|
static int proc_calc_metrics(char *page, char **start, off_t off,
|
||||||
int count, int *eof, int len)
|
int count, int *eof, int len)
|
||||||
|
|
Loading…
Reference in New Issue