gigaset: include cleanup cleanup

Previous thread: packet : remove init_net restriction by Linux Kernel Mailing List on Monday, April 19, 2010 - 8:59 am. (1 message)

Next thread: rcu: Add rcu_access_pointer and rcu_dereference_protected by Linux Kernel Mailing List on Monday, April 19, 2010 - 8:59 am. (1 message)
From: Linux Kernel Mailing List
Date: Monday, April 19, 2010 - 8:59 am

Gitweb:     http://git.kernel.org/linus/b91ecb0027c7171c83d7cf443a22c39b1fde6d83
Commit:     b91ecb0027c7171c83d7cf443a22c39b1fde6d83
Parent:     1c4f0197323254e463b642abf2c8361e2a924859
Author:     Tilman Schmidt <tilman@imap.cc>
AuthorDate: Fri Apr 16 12:08:58 2010 +0000
Committer:  David S. Miller <davem@davemloft.net>
CommitDate: Sun Apr 18 02:33:29 2010 -0700

    gigaset: include cleanup cleanup
    
    Commit 5a0e3ad causes slab.h to be included twice in many of the
    Gigaset driver's source files, first via the common include file
    gigaset.h and then a second time directly. Drop the spares, and
    use the opportunity to clean up a few more similar cases.
    
    Impact: cleanup, no functional change
    Signed-off-by: Tilman Schmidt <tilman@imap.cc>
    CC: Tejun Heo <tj@kernel.org>
    Acked-by: Tejun Heo <tj@kernel.org>
    Signed-off-by: David S. Miller <davem@davemloft.net>
---
 drivers/isdn/gigaset/bas-gigaset.c |    5 -----
 drivers/isdn/gigaset/capi.c        |    2 --
 drivers/isdn/gigaset/common.c      |    2 --
 drivers/isdn/gigaset/gigaset.h     |    2 +-
 drivers/isdn/gigaset/i4l.c         |    1 -
 drivers/isdn/gigaset/interface.c   |    1 -
 drivers/isdn/gigaset/proc.c        |    1 -
 drivers/isdn/gigaset/ser-gigaset.c |    3 ---
 drivers/isdn/gigaset/usb-gigaset.c |    4 ----
 9 files changed, 1 insertions(+), 20 deletions(-)

diff --git a/drivers/isdn/gigaset/bas-gigaset.c b/drivers/isdn/gigaset/bas-gigaset.c
index 0be15c7..47a5ffe 100644
--- a/drivers/isdn/gigaset/bas-gigaset.c
+++ b/drivers/isdn/gigaset/bas-gigaset.c
@@ -14,11 +14,6 @@
  */
 
 #include "gigaset.h"
-
-#include <linux/errno.h>
-#include <linux/init.h>
-#include <linux/slab.h>
-#include <linux/timer.h>
 #include <linux/usb.h>
 #include <linux/module.h>
 #include <linux/moduleparam.h>
diff --git a/drivers/isdn/gigaset/capi.c b/drivers/isdn/gigaset/capi.c
index eb7e271..964a55f 100644
--- a/drivers/isdn/gigaset/capi.c
+++ b/drivers/isdn/gigaset/capi.c
@@ -12,8 ...
Previous thread: packet : remove init_net restriction by Linux Kernel Mailing List on Monday, April 19, 2010 - 8:59 am. (1 message)

Next thread: rcu: Add rcu_access_pointer and rcu_dereference_protected by Linux Kernel Mailing List on Monday, April 19, 2010 - 8:59 am. (1 message)