From patchwork Mon Jun 13 15:50:06 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?S09OUkFEIEZyw6lkw6lyaWM=?= X-Patchwork-Id: 9173505 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7D9E36075D for ; Mon, 13 Jun 2016 15:51:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7062A20410 for ; Mon, 13 Jun 2016 15:51:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6501D25EF7; Mon, 13 Jun 2016 15:51:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, FSL_HELO_HOME, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 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 mail.wl.linuxfoundation.org (Postfix) with ESMTPS id F0E4F20410 for ; Mon, 13 Jun 2016 15:51:18 +0000 (UTC) Received: from localhost ([::1]:57321 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCU90-0004A4-43 for patchwork-qemu-devel@patchwork.kernel.org; Mon, 13 Jun 2016 11:51:18 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44261) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCU8L-00044q-OL for qemu-devel@nongnu.org; Mon, 13 Jun 2016 11:50:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bCU8G-0008Pf-BK for qemu-devel@nongnu.org; Mon, 13 Jun 2016 11:50:37 -0400 Received: from greensocs.com ([193.104.36.180]:55153) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCU8G-0008PR-4G for qemu-devel@nongnu.org; Mon, 13 Jun 2016 11:50:32 -0400 Received: from localhost (localhost [127.0.0.1]) by greensocs.com (Postfix) with ESMTP id 68C5913E00B3; Mon, 13 Jun 2016 17:50:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=greensocs.com; s=mail; t=1465833031; bh=lizlGDIxnvLfnXZn+go9ssMVO4c6UhzfnDkUCYtgsE8=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=LHi40YmKHJs553wPjXGwmu/U7sDSSyfZc6g5CwPJI/kHOtvY88+2K/iJdhFqDC7v3 k7usWVNVaj98sbmWHYWmJZYmuUDqvCqOj8Zu1+i4rDP0f0rpnZ0a7Ty5DCz07roi8e 84ifXjGu7xduNk67SRQ63gyZsMXtUtBErHo2wAVg= 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 P_DN_mQPuRmi; Mon, 13 Jun 2016 17:50:26 +0200 (CEST) Received: from corsair.home (AToulouse-659-1-111-162.w90-38.abo.wanadoo.fr [90.38.166.162]) (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 858A5BBFC26; Mon, 13 Jun 2016 17:50:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=greensocs.com; s=mail; t=1465833026; bh=lizlGDIxnvLfnXZn+go9ssMVO4c6UhzfnDkUCYtgsE8=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=JkbOOONy2Hp+6KZqXGcYGmP4spZHivFxylDaJPIxmDdyz/IFrvLIdMoN+HmqauQUr 8dS/EekbBqezn2Bpgp6INI4tN5ZSBlKFWy4eWVwNgvK0ECSLdojCLvuvyWRytztZtL xIi82ukESxBurbDsAzgKioBLEb9Kt5z2JOqo+Qaw= From: fred.konrad@greensocs.com To: qemu-devel@nongnu.org Date: Mon, 13 Jun 2016 17:50:06 +0200 Message-Id: <1465833014-21982-2-git-send-email-fred.konrad@greensocs.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1465833014-21982-1-git-send-email-fred.konrad@greensocs.com> References: <1465833014-21982-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 V10 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+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP 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; };