| From | Michał Kępień <> | Subject | [PATCH 5/7] platform/x86: fujitsu-laptop: Do not include linux/slab.h | Date | Sun, 11 Feb 2018 22:07:25 +0100 |
| |
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> --- drivers/platform/x86/fujitsu-laptop.c | 1 - 1 file changed, 1 deletion(-)
diff --git a/drivers/platform/x86/fujitsu-laptop.c b/drivers/platform/x86/fujitsu-laptop.c index 7888b779d6c5..17779b8b7f30 100644 --- a/drivers/platform/x86/fujitsu-laptop.c +++ b/drivers/platform/x86/fujitsu-laptop.c @@ -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" -- 2.16.1
|