platform/x86: fujitsu-laptop: Do not include linux/slab.h
authorMichał Kępień <kernel@kempniu.pl>
Sun, 11 Feb 2018 21:07:25 +0000 (22:07 +0100)
committerDarren Hart (VMware) <dvhart@infradead.org>
Sat, 24 Feb 2018 21:37:36 +0000 (13:37 -0800)
Do not include linux/slab.h as all module code now uses managed memory
allocations and thus neither k*alloc() nor kfree() is used.

Signed-off-by: Michał Kępień <kernel@kempniu.pl>
Reviewed-by: Jonathan Woithe <jwoithe@just42.net>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
drivers/platform/x86/fujitsu-laptop.c

index 7888b779d6c5774fef1cc653afd883090006b801..17779b8b7f304a63231d52aa15d1352be2ae9e21 100644 (file)
@@ -61,7 +61,6 @@
 #include <linux/kfifo.h>
 #include <linux/leds.h>
 #include <linux/platform_device.h>
-#include <linux/slab.h>
 #include <acpi/video.h>
 
 #define FUJITSU_DRIVER_VERSION "0.6.0"