aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--os/hal/src/i2c.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/os/hal/src/i2c.c b/os/hal/src/i2c.c
index 42481a2fd..66b01e0f3 100644
--- a/os/hal/src/i2c.c
+++ b/os/hal/src/i2c.c
@@ -77,8 +77,6 @@ void i2cObjectInit(I2CDriver *i2cp) {
i2cp->state = I2C_STOP;
i2cp->config = NULL;
- i2cp->rxbuf = NULL;
- i2cp->thread = NULL;
#if I2C_USE_MUTUAL_EXCLUSION
#if CH_USE_MUTEXES