Linux-NVME Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: xerofoify@gmail.com (Nicholas Krause)
Subject: [PATCH] block:Remove including of the header file, linux/mm.h for the file, nvme-core.c
Date: Wed, 13 May 2015 12:21:18 -0400	[thread overview]
Message-ID: <1431534078-17740-1-git-send-email-xerofoify@gmail.com> (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

             reply	other threads:[~2015-05-13 16:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-13 16:21 Nicholas Krause [this message]
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 17:12   ` Keith Busch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1431534078-17740-1-git-send-email-xerofoify@gmail.com \
    --to=xerofoify@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox