Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1651150 > unrolled thread

[PATCH 7/8] i2c: remove unneeded includes from core

Started byWolfram Sang <wsa@the-dreams.de>
First post2017-05-26 10:30 +0200
Last post2017-05-26 10:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 7/8] i2c: remove unneeded includes from core Wolfram Sang <wsa@the-dreams.de> - 2017-05-26 10:30 +0200

#1651150 — [PATCH 7/8] i2c: remove unneeded includes from core

FromWolfram Sang <wsa@the-dreams.de>
Date2017-05-26 10:30 +0200
Subject[PATCH 7/8] i2c: remove unneeded includes from core
Message-ID<tLiNb-3tM-1@gated-at.bofh.it>
They seem like cruft to me. I couldn't find any evidence that something
included from there is actually used.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
---
 drivers/i2c/i2c-core-base.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/i2c/i2c-core-base.c b/drivers/i2c/i2c-core-base.c
index ac7b95e4cda75d..78135c1deaab59 100644
--- a/drivers/i2c/i2c-core-base.c
+++ b/drivers/i2c/i2c-core-base.c
@@ -21,7 +21,6 @@
 #define pr_fmt(fmt) "i2c-core: " fmt
 
 #include <dt-bindings/i2c/i2c.h>
-#include <linux/uaccess.h>
 #include <linux/acpi.h>
 #include <linux/clk/clk-conf.h>
 #include <linux/completion.h>
@@ -29,7 +28,6 @@
 #include <linux/err.h>
 #include <linux/errno.h>
 #include <linux/gpio.h>
-#include <linux/hardirq.h>
 #include <linux/i2c.h>
 #include <linux/idr.h>
 #include <linux/init.h>
-- 
2.11.0

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web