Received: from eggs.gnu.org ([2001:4830:134:3::10]:42732) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCp6f-0003Qb-Nx for qemu-devel@nongnu.org; Tue, 14 Jun 2016 10:14:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bCp6e-00087J-PM for qemu-devel@nongnu.org; Tue, 14 Jun 2016 10:14:17 -0400 Received: from orth.archaic.org.uk ([2001:8b0:1d0::2]:57714) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCp6e-00085V-Hy for qemu-devel@nongnu.org; Tue, 14 Jun 2016 10:14:16 -0400 Received: from pm215 by orth.archaic.org.uk with local (Exim 4.84_2) (envelope-from ) id 1bCp6e-0006HD-8E for qemu-devel@nongnu.org; Tue, 14 Jun 2016 15:14:16 +0100 From: Peter Maydell Date: Tue, 14 Jun 2016 15:13:56 +0100 Message-Id: <1465913645-19346-22-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1465913645-19346-1-git-send-email-peter.maydell@linaro.org> References: <1465913645-19346-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PULL 21/30] i2cbus: remove unused dev field List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org From: KONRAD Frederic The dev field in i2cbus is not used. So just drop it. Signed-off-by: KONRAD Frederic Reviewed-by: Alistair Francis Reviewed-by: Peter Crosthwaite Tested-By: Hyun Kwon Message-id: 1465833014-21982-2-git-send-email-fred.konrad@greensocs.com Signed-off-by: Peter Maydell --- hw/i2c/core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/hw/i2c/core.c b/hw/i2c/core.c index ba22104..013ff68 100644 --- a/hw/i2c/core.c +++ b/hw/i2c/core.c @@ -14,7 +14,6 @@ struct I2CBus { BusState qbus; I2CSlave *current_dev; - I2CSlave *dev; uint8_t saved_address; }; -- 1.9.1