diff --git a/software/i2c-ocores/drivers/i2c/busses/i2c-ocores.c b/software/i2c-ocores/drivers/i2c/busses/i2c-ocores.c
index f67a0dfdecfa6d2180485941f4f9af8af227c33a..b7a458d69ac869ce0f596dcb68ed1fd69c560d80 100644
--- a/software/i2c-ocores/drivers/i2c/busses/i2c-ocores.c
+++ b/software/i2c-ocores/drivers/i2c/busses/i2c-ocores.c
@@ -615,7 +615,6 @@ static int ocores_i2c_mux_deselect(struct i2c_adapter *adap,
 	mux = oc_getreg(i2c, OCI2C_OHWR_MUX);
 	if (unlikely(!(mux & OCI2C_OHWR_MUX_BUSY)))
 		dev_err(&adap->dev, "deselect a bus that was not selected\n");
-	mux &= ~OCI2C_OHWR_MUX_SEL_MASK;
 	mux &= ~OCI2C_OHWR_MUX_BUSY;
 	oc_setreg(i2c, OCI2C_OHWR_MUX, mux);