Commit 66467abe authored by David S. Miller's avatar David S. Miller

[SPARC]: Kill dump_dma_regs, unused.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 71fc77af
...@@ -17,14 +17,6 @@ ...@@ -17,14 +17,6 @@
struct sbus_dma *dma_chain; struct sbus_dma *dma_chain;
/* Print out the current values in the DMA control registers */
extern __inline__ void dump_dma_regs(unsigned long dregs)
{
printk("DMA CONTROL<%08x> ADDR<%08x> CNT<%08x> TEST<%08x>\n",
sbus_readl(dregs + DMA_CSR), sbus_readl(dregs + DMA_ADDR),
sbus_readl(dregs + DMA_COUNT), sbus_readl(dregs + DMA_TEST));
}
void __init init_one_dvma(struct sbus_dma *dma, int num_dma) void __init init_one_dvma(struct sbus_dma *dma, int num_dma)
{ {
printk("dma%d: ", num_dma); printk("dma%d: ", num_dma);
...@@ -64,9 +56,6 @@ void __init init_one_dvma(struct sbus_dma *dma, int num_dma) ...@@ -64,9 +56,6 @@ void __init init_one_dvma(struct sbus_dma *dma, int num_dma)
break; break;
} }
printk("\n"); printk("\n");
#if 0 /* Clutters up the screen */
dump_dma_regs(dma->regs);
#endif
} }
/* Probe this SBus DMA module(s) */ /* Probe this SBus DMA module(s) */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment