remove unneeded lines from cma.c
@@ -78,9 +78,7 @@ static int __init cma_init(void)
dma_device = cma_device.this_device;
- dma_device->archdata.dma_coherent = true;
- set_dma_ops(dma_device, &arm_coherent_dma_ops);
- dma_device->archdata.dma_ops_setup = true;
+ dma_device->dma_ops = &arm_coherent_dma_ops;
dma_device->coherent_dma_mask = DMA_BIT_MASK(32);
return 0;
