media: gp8psk: don't abuse of GFP_DMA

There's s no reason why it should be using GFP_DMA there.
This is an USB driver. Any restriction should be, instead,
at HCI core, if any.

Cc: "Luis R. Rodriguez" <mcgrof@kernel.org>
Cc: linux-mm@kvack.org
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
This commit is contained in:
Mauro Carvalho Chehab 2018-05-05 12:09:46 -04:00
Родитель 0630efeee8
Коммит b2353e1dcc
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -148,7 +148,7 @@ static int gp8psk_load_bcm4500fw(struct dvb_usb_device *d)
info("downloading bcm4500 firmware from file '%s'",bcm4500_firmware); info("downloading bcm4500 firmware from file '%s'",bcm4500_firmware);
ptr = fw->data; ptr = fw->data;
buf = kmalloc(64, GFP_KERNEL | GFP_DMA); buf = kmalloc(64, GFP_KERNEL);
if (!buf) { if (!buf) {
ret = -ENOMEM; ret = -ENOMEM;
goto out_rel_fw; goto out_rel_fw;