diff options
-rw-r--r-- | driver/kmem.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/driver/kmem.c b/driver/kmem.c index 4f36e79..b323272 100644 --- a/driver/kmem.c +++ b/driver/kmem.c @@ -147,9 +147,6 @@ int pcidriver_kmem_alloc(pcidriver_privdata_t *privdata, kmem_handle_t *kmem_han case PCILIB_KMEM_TYPE_PAGE: flags = GFP_KERNEL; - if ((kmem_entry->type == PCILIB_KMEM_TYPE_DMA_S2C_PAGE)||(kmem_entry->type == PCILIB_KMEM_TYPE_DMA_C2S_PAGE)) - flags |= __GFP_DMA; - if (kmem_handle->size == 0) kmem_handle->size = PAGE_SIZE; else if (kmem_handle->size%PAGE_SIZE) |