diff options
Diffstat (limited to 'samples/gpio-pci-idio-16.c')
-rw-r--r-- | samples/gpio-pci-idio-16.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/samples/gpio-pci-idio-16.c b/samples/gpio-pci-idio-16.c index 06320f3..c549017 100644 --- a/samples/gpio-pci-idio-16.c +++ b/samples/gpio-pci-idio-16.c @@ -65,12 +65,6 @@ static void _sa_handler(int signum __attribute__((unused))) { } -static int -unmap_dma(void *pvt __attribute__((unused)), - uint64_t iova __attribute__((unused))) -{ -} - int main(int argc, char *argv[]) { int ret; @@ -108,16 +102,8 @@ int main(int argc, char *argv[]) .size = 0x100, .fn = &bar2_access }, - .irq_count[LM_DEV_INTX_IRQ_IDX] = 1, }, .uuid = argv[optind], - - /* - * Not strictly necessary since this device doesn't yet do any DMA. - * By declaring this dummy callback DMA regions get registered, - * otherwise they're ignored. - */ - .unmap_dma = unmap_dma }; sigemptyset(&act.sa_mask); |