Skip to content

Commit

Permalink
dropping unneeded include autoconf.h
Browse files Browse the repository at this point in the history
It is force-included on the gcc command line since at least 2.6.15.
Explicit include lines seem to break compilation now in certain configurations.

Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Signed-off-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
  • Loading branch information
Lars Ellenberg authored and Jens Axboe committed Oct 1, 2009
1 parent b411b36 commit ab8fafc
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion drivers/block/drbd/drbd_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
*/

#include <linux/autoconf.h>
#include <linux/module.h>
#include <linux/version.h>
#include <linux/drbd.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/block/drbd/drbd_nl.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
*/

#include <linux/autoconf.h>
#include <linux/module.h>
#include <linux/drbd.h>
#include <linux/in.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/block/drbd/drbd_proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
*/

#include <linux/autoconf.h>
#include <linux/module.h>

#include <asm/uaccess.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/block/drbd/drbd_receiver.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
*/


#include <linux/autoconf.h>
#include <linux/module.h>

#include <asm/uaccess.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/block/drbd/drbd_req.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
*/

#include <linux/autoconf.h>
#include <linux/module.h>

#include <linux/slab.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/block/drbd/drbd_req.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
#ifndef _DRBD_REQ_H
#define _DRBD_REQ_H

#include <linux/autoconf.h>
#include <linux/module.h>

#include <linux/slab.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/block/drbd/drbd_worker.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
*/

#include <linux/autoconf.h>
#include <linux/module.h>
#include <linux/version.h>
#include <linux/drbd.h>
Expand Down

0 comments on commit ab8fafc

Please sign in to comment.