summaryrefslogtreecommitdiff
path: root/drivers/comedi/comedi_buf.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/comedi/comedi_buf.c')
-rw-r--r--drivers/comedi/comedi_buf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/comedi/comedi_buf.c b/drivers/comedi/comedi_buf.c
index 7215d4b9152b..ed372619bf54 100644
--- a/drivers/comedi/comedi_buf.c
+++ b/drivers/comedi/comedi_buf.c
@@ -70,7 +70,7 @@ comedi_buf_map_alloc(struct comedi_device *dev, enum dma_data_direction dma_dir,
struct comedi_buf_page *buf;
unsigned int i;
- bm = kzalloc_obj(*bm, GFP_KERNEL);
+ bm = kzalloc_obj(*bm);
if (!bm)
return NULL;