From f2e0d2733422ebc2dd5c8d7817d16847d8bef8d2 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sun, 12 Jul 2020 10:13:18 +0800 Subject: [PATCH] rtio/dma: remove dead/broken code --- artiq/gateware/rtio/dma.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/artiq/gateware/rtio/dma.py b/artiq/gateware/rtio/dma.py index 03f479e03..dd1e23f55 100644 --- a/artiq/gateware/rtio/dma.py +++ b/artiq/gateware/rtio/dma.py @@ -12,9 +12,7 @@ def _reverse_bytes(s, g): class WishboneReader(Module): - def __init__(self, bus=None): - if bus is None: - bus = wishbone.Interface + def __init__(self): self.bus = bus aw = len(bus.adr)