summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/i2c.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/i2c.h b/include/i2c.h
index 1d1430b74a6..b6727bb2a73 100644
--- a/include/i2c.h
+++ b/include/i2c.h
@@ -947,13 +947,6 @@ unsigned int i2c_get_bus_speed(void);
# define I2C_MULTI_BUS 0
#endif
-/* NOTE: These two functions MUST be always_inline to avoid code growth! */
-static inline unsigned int I2C_GET_BUS(void) __attribute__((always_inline));
-static inline unsigned int I2C_GET_BUS(void)
-{
- return I2C_MULTI_BUS ? i2c_get_bus_num() : 0;
-}
-
/**
* Find the I2C bus number by given a FDT I2C node.
*