From c4e5990ad20e9d387dd0f1e6649c7676b869bc0d Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Fri, 13 Oct 2017 19:29:03 +0900 Subject: [PATCH] i2c: remove DECLARE_GLOBAL_DATA_PTR from i2c-uclass No global pointer is used in this file. Signed-off-by: Masahiro Yamada Reviewed-by: Heiko Schocher --- drivers/i2c/i2c-uclass.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/i2c/i2c-uclass.c b/drivers/i2c/i2c-uclass.c index 1397f34dda..920811a075 100644 --- a/drivers/i2c/i2c-uclass.c +++ b/drivers/i2c/i2c-uclass.c @@ -12,8 +12,6 @@ #include #include -DECLARE_GLOBAL_DATA_PTR; - #define I2C_MAX_OFFSET_LEN 4 /* Useful debugging function */ -- 2.39.5