HID: tiny patch to remove a kmalloc cast

Remove unnecessary cast.

Signed-off-by: Ahmed Darwish <darwish.07@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>

authored by Ahmed S. Darwish and committed by Jiri Kosina d6509c36 35068976

+1 -1
+1 -1
drivers/hid/hid-core.c
··· 656 for (i = 0; i < HID_REPORT_TYPES; i++) 657 INIT_LIST_HEAD(&device->report_enum[i].report_list); 658 659 - if (!(device->rdesc = (__u8 *)kmalloc(size, GFP_KERNEL))) { 660 kfree(device->collection); 661 kfree(device); 662 return NULL;
··· 656 for (i = 0; i < HID_REPORT_TYPES; i++) 657 INIT_LIST_HEAD(&device->report_enum[i].report_list); 658 659 + if (!(device->rdesc = kmalloc(size, GFP_KERNEL))) { 660 kfree(device->collection); 661 kfree(device); 662 return NULL;