]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
sparc: remove not needed sbus_dma_ops methods
authorChristoph Hellwig <hch@lst.de>
Mon, 3 Dec 2018 11:28:35 +0000 (12:28 +0100)
committerChristoph Hellwig <hch@lst.de>
Tue, 11 Dec 2018 13:45:23 +0000 (14:45 +0100)
commit7227b202623986505c9dd6d2eadad977cd43625e
tree8cac35eca49ef29cb6f744f1cc0c97723e6f7313
parentad78dee0b630527bdfed809d1f5ed95c601886ae
sparc: remove not needed sbus_dma_ops methods

No need to BUG_ON() on the cache maintainance ops - they are no-ops
by default, and there is nothing in the DMA API contract that prohibits
calling them on sbus devices (even if such drivers are unlikely to
ever appear).

Similarly a dma_supported method that always returns 0 is rather
pointless.  The only thing that indicates is that no one ever calls
the method on sbus devices.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/ioport.c