From patchwork Mon Jun 6 14:21:39 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: fred.konrad@greensocs.com X-Patchwork-Id: 630918 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3rNcfQ3D0jz9sD9 for ; Tue, 7 Jun 2016 00:34:38 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=greensocs.com header.i=@greensocs.com header.b=sEckvvPQ; dkim=fail reason="signature verification failed" (1024-bit key) header.d=greensocs.com header.i=@greensocs.com header.b=lIl34OBX; dkim-atps=neutral Received: from localhost ([::1]:42825 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b9vbw-0005pE-FM for incoming@patchwork.ozlabs.org; Mon, 06 Jun 2016 10:34:36 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57631) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b9vPr-0003x5-E5 for qemu-devel@nongnu.org; Mon, 06 Jun 2016 10:22:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b9vPl-0002C9-3Z for qemu-devel@nongnu.org; Mon, 06 Jun 2016 10:22:06 -0400 Received: from greensocs.com ([193.104.36.180]:47077) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b9vPk-0002Bj-TG for qemu-devel@nongnu.org; Mon, 06 Jun 2016 10:22:01 -0400 Received: from localhost (localhost [127.0.0.1]) by greensocs.com (Postfix) with ESMTP id 268FA13E00B0; Mon, 6 Jun 2016 16:21:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=greensocs.com; s=mail; t=1465222918; bh=lizlGDIxnvLfnXZn+go9ssMVO4c6UhzfnDkUCYtgsE8=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=sEckvvPQ9qMqnoU10K95r1p5/Arnj44AT0Ej5a8szfc6TCJ2gs0FeoE4qI078JcC2 WlmqyK2EBOoy9pmmSVaM6O0Wy+K1XJW5Tq0XP/iWGaNotbmg1GBN1e7DfI0W63o68a SXNEB/hShxu1eXP8N/OqFlybl27r7zS9++GhufNw= X-Virus-Scanned: amavisd-new at greensocs.com Authentication-Results: gs-01.greensocs.com (amavisd-new); dkim=pass (1024-bit key) header.d=greensocs.com Received: from greensocs.com ([127.0.0.1]) by localhost (gs-01.greensocs.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HXbvVWJgFWdZ; Mon, 6 Jun 2016 16:21:57 +0200 (CEST) Received: from corsair.home (AToulouse-659-1-125-198.w90-60.abo.wanadoo.fr [90.60.180.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: fred.konrad@greensocs.com) by greensocs.com (Postfix) with ESMTPSA id 7B3B113E00A2; Mon, 6 Jun 2016 16:21:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=greensocs.com; s=mail; t=1465222917; bh=lizlGDIxnvLfnXZn+go9ssMVO4c6UhzfnDkUCYtgsE8=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=lIl34OBXeVBmoA4aP4kqIQzTa3AwubW0by4Rl9AsgXQ8sQyiMy6jslxbvoFH/gHL4 4hJiRGXP9B3pikX/3A6hrpaxEJ534ixmoBmxmjLrdrbw+hTSGFYMNhz6592KhbOp68 S82IezV1ziYTUerMnmfigoLT03zX8ZKLlv836fDY= From: fred.konrad@greensocs.com To: qemu-devel@nongnu.org Date: Mon, 6 Jun 2016 16:21:39 +0200 Message-Id: <1465222907-19168-2-git-send-email-fred.konrad@greensocs.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1465222907-19168-1-git-send-email-fred.konrad@greensocs.com> References: <1465222907-19168-1-git-send-email-fred.konrad@greensocs.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 193.104.36.180 Subject: [Qemu-devel] [PATCH V8 1/9] i2cbus: remove unused dev field X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: edgar.iglesias@xilinx.com, peter.maydell@linaro.org, hyunk@xilinx.com, mark.burton@greensocs.com, alistair.francis@xilinx.com, crosthwaitepeter@gmail.com, guillaume.delbergue@greensocs.com, fred.konrad@greensocs.com Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" 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 --- 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; };