From patchwork Wed Aug 1 18:21:10 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Blue Swirl X-Patchwork-Id: 174566 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)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 8019B2C0086 for ; Thu, 2 Aug 2012 04:25:23 +1000 (EST) Received: from localhost ([::1]:40771 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwdZz-0006ro-7n for incoming@patchwork.ozlabs.org; Wed, 01 Aug 2012 14:23:31 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59168) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwdZN-0005Id-Si for qemu-devel@nongnu.org; Wed, 01 Aug 2012 14:22:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SwdZI-0003T9-7X for qemu-devel@nongnu.org; Wed, 01 Aug 2012 14:22:53 -0400 Received: from mail-ey0-f173.google.com ([209.85.215.173]:50448) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwdZI-0003PQ-1J for qemu-devel@nongnu.org; Wed, 01 Aug 2012 14:22:48 -0400 Received: by mail-ey0-f173.google.com with SMTP id h1so1882998eaa.4 for ; Wed, 01 Aug 2012 11:22:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :in-reply-to:references; bh=+OhBgyDT3bArHbicWDbUaG+BNoVnlpLvJy1z1dBb2Jg=; b=B7sxsZdirUNFkqdiz+IfVR23SWRgZjBAPbnamwJejkUacHCS1q0CGedXL96wuUUtf/ Bo2DJWaQx71/1OupjZDk3Z8QeexKyjWSvXpM5HKkCjPRnzZc8p7ClgMSgPmu5HF31Cjf b8X4KWSHVSqDGabkw/QaLZsJDiaE2szAxl7Y6EfCSaUxvaunml09EjdBrD8ujweFUTK7 BAMAeeFrN3bNeOgchhpCnXflRjiiTcxsVrTlY4vOGHRU9fKCIjpBWC1Yb12xKqHVywER TjAkOW+2K6NL0T9az/BeViq44N1jxpRpkJQaomq/fHjt/evC/bkxL90VeByDM6oAdGtE hGLg== Received: by 10.14.178.7 with SMTP id e7mr23451701eem.20.1343845367679; Wed, 01 Aug 2012 11:22:47 -0700 (PDT) Received: from localhost.localdomain (blueswirl.broker.freenet6.net. [2001:5c0:1400:b::d5a3]) by mx.google.com with ESMTPS id u48sm10959686eep.7.2012.08.01.11.22.45 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 01 Aug 2012 11:22:46 -0700 (PDT) From: Blue Swirl To: qemu-devel@nongnu.org Date: Wed, 1 Aug 2012 18:21:10 +0000 Message-Id: <9fd033f9a8d88b4e593c6aaee79880d403cc13b0.1343845033.git.blauwirbel@gmail.com> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: References: In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.215.173 Cc: blauwirbel@gmail.com Subject: [Qemu-devel] [PATCH v2 5/6] xilinx_axienet: avoid useless self-assignment X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Statement s=s; makes little sense, remove it. Spotted by Clang compiler. Signed-off-by: Blue Swirl --- hw/xilinx_axienet.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/hw/xilinx_axienet.c b/hw/xilinx_axienet.c index e948505..e89a174 100644 --- a/hw/xilinx_axienet.c +++ b/hw/xilinx_axienet.c @@ -648,7 +648,6 @@ static ssize_t eth_rx(VLANClientState *nc, const uint8_t *buf, size_t size) uint16_t csum16; int i; - s = s; DENET(qemu_log("%s: %zd bytes\n", __func__, size)); unicast = ~buf[0] & 0x1;