From bd4849f15e766bf022e819e96e535171599aedf4 Mon Sep 17 00:00:00 2001 From: imp Date: Tue, 28 Nov 2006 00:05:04 +0000 Subject: [PATCH] Remove unused leftovers. --- sys/dev/iicbus/iiconf.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/sys/dev/iicbus/iiconf.h b/sys/dev/iicbus/iiconf.h index bbf490736023..8d203350c553 100644 --- a/sys/dev/iicbus/iiconf.h +++ b/sys/dev/iicbus/iiconf.h @@ -34,8 +34,6 @@ #define IICPRI (PZERO+8) /* XXX sleep/wakeup queue priority */ -#define n(flags) (~(flags) & (flags)) - #define LSB 0x1 /* @@ -94,11 +92,6 @@ #define IIC_ENOTSUPP 0x8 /* request not supported */ #define IIC_ENOADDR 0x9 /* no address assigned to the interface */ -/* - * ivars codes - */ -#define IICBUS_IVAR_ADDR 0x1 /* I2C address of the device */ - extern int iicbus_request_bus(device_t, device_t, int); extern int iicbus_release_bus(device_t, device_t); extern device_t iicbus_alloc_bus(device_t); @@ -127,8 +120,6 @@ extern int iicbus_read_byte(device_t, char *, int); extern int iicbus_block_write(device_t, u_char, char *, int, int *); extern int iicbus_block_read(device_t, u_char, char *, int, int *); -extern u_char iicbus_get_addr(device_t); - /* vectors of iic operations to pass to bridge */ int iicbus_transfer(device_t bus, struct iic_msg *msgs, uint32_t nmsgs); int iicbus_transfer_gen(device_t bus, struct iic_msg *msgs, uint32_t nmsgs);