All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] block:Remove including of the header file, linux/mm.h for the file, nvme-core.c
@ 2015-05-13 16:21 Nicholas Krause
  2015-05-13 16:49   ` Matthew Wilcox
  0 siblings, 1 reply; 5+ messages in thread
From: Nicholas Krause @ 2015-05-13 16:21 UTC (permalink / raw)


This removes the include statement for including the header file,
linux/mm.h in the file, nvme-core.c due this driver file never
calling any functions from the header file, linux/mm.h  and
only adding bloat to this driver by including this unnessary
header file.

Signed-off-by: Nicholas Krause <xerofoify at gmail.com>
---
 drivers/block/nvme-core.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/block/nvme-core.c b/drivers/block/nvme-core.c
index 85b8036..8edf262 100644
--- a/drivers/block/nvme-core.c
+++ b/drivers/block/nvme-core.c
@@ -29,7 +29,6 @@
 #include <linux/kdev_t.h>
 #include <linux/kthread.h>
 #include <linux/kernel.h>
-#include <linux/mm.h>
 #include <linux/module.h>
 #include <linux/moduleparam.h>
 #include <linux/pci.h>
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-05-13 17:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-13 16:21 [PATCH] block:Remove including of the header file, linux/mm.h for the file, nvme-core.c Nicholas Krause
2015-05-13 16:49 ` [PATCH] block:Remove including of the header file, linux/mm.h for the file,nvme-core.c Matthew Wilcox
2015-05-13 16:49   ` Matthew Wilcox
2015-05-13 17:12   ` Keith Busch
2015-05-13 17:12     ` Keith Busch

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.