diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2015-03-14 03:38:54 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2015-03-14 03:38:54 +0000 |
commit | 651a8ec0536429ec664a047ea1884b4f2ca9388e (patch) | |
tree | c589290e0c2580b97921907d1dba5bd7d3fc2559 /sys/dev/i2c | |
parent | b163c91d43910f421639d41e147cfb56136a0617 (diff) |
Remove some includes include-what-you-use claims don't
have any direct symbols used. Tested for indirect use by compiling
amd64/i386/sparc64 kernels.
ok tedu@ deraadt@
Diffstat (limited to 'sys/dev/i2c')
-rw-r--r-- | sys/dev/i2c/i2c.c | 3 | ||||
-rw-r--r-- | sys/dev/i2c/i2c_exec.c | 3 | ||||
-rw-r--r-- | sys/dev/i2c/lm75.c | 3 | ||||
-rw-r--r-- | sys/dev/i2c/lm78_i2c.c | 4 |
4 files changed, 4 insertions, 9 deletions
diff --git a/sys/dev/i2c/i2c.c b/sys/dev/i2c/i2c.c index 3db9c350972..3d3fcf2130a 100644 --- a/sys/dev/i2c/i2c.c +++ b/sys/dev/i2c/i2c.c @@ -1,4 +1,4 @@ -/* $OpenBSD: i2c.c,v 1.15 2007/10/09 16:57:47 deraadt Exp $ */ +/* $OpenBSD: i2c.c,v 1.16 2015/03/14 03:38:47 jsg Exp $ */ /* $NetBSD: i2c.c,v 1.1 2003/09/30 00:35:31 thorpej Exp $ */ /* @@ -40,7 +40,6 @@ #include <sys/systm.h> #include <sys/device.h> #include <sys/event.h> -#include <sys/conf.h> #define _I2C_PRIVATE #include <dev/i2c/i2cvar.h> diff --git a/sys/dev/i2c/i2c_exec.c b/sys/dev/i2c/i2c_exec.c index 0da93ef846a..1bb5c8c7a2f 100644 --- a/sys/dev/i2c/i2c_exec.c +++ b/sys/dev/i2c/i2c_exec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: i2c_exec.c,v 1.2 2008/04/17 16:48:40 deraadt Exp $ */ +/* $OpenBSD: i2c_exec.c,v 1.3 2015/03/14 03:38:47 jsg Exp $ */ /* $NetBSD: i2c_exec.c,v 1.3 2003/10/29 00:34:58 mycroft Exp $ */ /* @@ -40,7 +40,6 @@ #include <sys/systm.h> #include <sys/device.h> #include <sys/event.h> -#include <sys/conf.h> #define _I2C_PRIVATE #include <dev/i2c/i2cvar.h> diff --git a/sys/dev/i2c/lm75.c b/sys/dev/i2c/lm75.c index 3145e1fa11e..844f1ef346a 100644 --- a/sys/dev/i2c/lm75.c +++ b/sys/dev/i2c/lm75.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lm75.c,v 1.18 2008/04/17 19:01:48 deraadt Exp $ */ +/* $OpenBSD: lm75.c,v 1.19 2015/03/14 03:38:47 jsg Exp $ */ /* $NetBSD: lm75.c,v 1.1 2003/09/30 00:35:31 thorpej Exp $ */ /* * Copyright (c) 2006 Theo de Raadt <deraadt@openbsd.org> @@ -24,7 +24,6 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/device.h> -#include <sys/kernel.h> #include <sys/sensors.h> #include <dev/i2c/i2cvar.h> diff --git a/sys/dev/i2c/lm78_i2c.c b/sys/dev/i2c/lm78_i2c.c index b8074b4d1cc..5a2504991c8 100644 --- a/sys/dev/i2c/lm78_i2c.c +++ b/sys/dev/i2c/lm78_i2c.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lm78_i2c.c,v 1.3 2011/07/26 18:43:36 deraadt Exp $ */ +/* $OpenBSD: lm78_i2c.c,v 1.4 2015/03/14 03:38:47 jsg Exp $ */ /* * Copyright (c) 2005 Mark Kettenis @@ -21,8 +21,6 @@ #include <sys/device.h> #include <sys/sensors.h> -#include <machine/bus.h> - #include <dev/i2c/i2cvar.h> #include <dev/ic/lm78var.h> |