From patchwork Tue Jun 10 16:08:24 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 31680 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f197.google.com (mail-vc0-f197.google.com [209.85.220.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A102A2054B for ; Tue, 10 Jun 2014 16:27:17 +0000 (UTC) Received: by mail-vc0-f197.google.com with SMTP id il7sf1138555vcb.8 for ; Tue, 10 Jun 2014 09:27:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:date :message-id:in-reply-to:references:cc:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=uRMpe5vnTNqjDANqTF6NEEd3teMUbmu0XsKszbK3zsM=; b=HjWBeQ4NucAKqXL3dpf48xQiQ8VW/H61R3j0vD3IKxI5nyFOo0vcdUgflHkbGecvIL YJXqnzV9jXWBKutIWj+P5Msnap9bqWIlKUYGTQxWjXyx0mwIzp0KZk8AbDNoT+1rktlP heqR9Ht71xCZor6/z6CvWiiOBThs8/CiNDOMlT0bL0wqNcjRz97/PzDWmQleQyHfdat5 CtjeVj3jX+oaG2kUd272NCPMziBqql50t4iS0dMphqtbP4v2ex/tJMJslCR7qZEEUMQK /dKrOnhS3SF1bANPKds3oPZYVEI8m9M/o+LWmCT1+fgiHXXtMFWumfZSscQVZ8rSYNSo DILA== X-Gm-Message-State: ALoCoQlFTLBcJ3Uor9oI0XGJjE9ZP07UFrlu4YPxuhIKwt8X2C8M5GqqRPR/4dlZ3Ftyla+RYTCm X-Received: by 10.224.79.212 with SMTP id q20mr15747988qak.9.1402417637462; Tue, 10 Jun 2014 09:27:17 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.26.51 with SMTP id 48ls2257875qgu.23.gmail; Tue, 10 Jun 2014 09:27:17 -0700 (PDT) X-Received: by 10.52.248.209 with SMTP id yo17mr2454504vdc.60.1402417637133; Tue, 10 Jun 2014 09:27:17 -0700 (PDT) Received: from mail-ve0-f171.google.com (mail-ve0-f171.google.com [209.85.128.171]) by mx.google.com with ESMTPS id ls1si11986137vcb.99.2014.06.10.09.27.17 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 10 Jun 2014 09:27:17 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.171 as permitted sender) client-ip=209.85.128.171; Received: by mail-ve0-f171.google.com with SMTP id jz11so4312437veb.16 for ; Tue, 10 Jun 2014 09:27:17 -0700 (PDT) X-Received: by 10.52.114.105 with SMTP id jf9mr1389960vdb.79.1402417637000; Tue, 10 Jun 2014 09:27:17 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.54.6 with SMTP id vs6csp238515vcb; Tue, 10 Jun 2014 09:27:16 -0700 (PDT) X-Received: by 10.224.162.212 with SMTP id w20mr14573471qax.50.1402417636335; Tue, 10 Jun 2014 09:27:16 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id c18si27910932qaq.0.2014.06.10.09.27.16 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 10 Jun 2014 09:27:16 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Received: from localhost ([::1]:40954 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WuOda-0004oM-8Q for patch@linaro.org; Tue, 10 Jun 2014 12:11:02 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58302) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WuObb-000275-Qe for qemu-devel@nongnu.org; Tue, 10 Jun 2014 12:09:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WuObR-0007jx-Rl for qemu-devel@nongnu.org; Tue, 10 Jun 2014 12:08:59 -0400 Received: from isrv.corpit.ru ([86.62.121.231]:44772) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WuObR-0007jJ-K0; Tue, 10 Jun 2014 12:08:49 -0400 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 693F441247; Tue, 10 Jun 2014 20:08:47 +0400 (MSK) Received: from tls.msk.ru (mjt.vpn.tls.msk.ru [192.168.177.99]) by tsrv.corpit.ru (Postfix) with SMTP id 4C82C666; Tue, 10 Jun 2014 20:08:47 +0400 (MSK) Received: (nullmailer pid 13302 invoked by uid 1000); Tue, 10 Jun 2014 16:08:47 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Date: Tue, 10 Jun 2014 20:08:24 +0400 Message-Id: <1402416523-13212-7-git-send-email-mjt@msgid.tls.msk.ru> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1402416523-13212-1-git-send-email-mjt@msgid.tls.msk.ru> References: <1402416523-13212-1-git-send-email-mjt@msgid.tls.msk.ru> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 86.62.121.231 Cc: qemu-trivial@nongnu.org, Peter Maydell , Michael Tokarev Subject: [Qemu-devel] [PULL 06/25] slirp: Remove unused zero_ethaddr[] variable 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: mjt@tls.msk.ru X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.171 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 From: Peter Maydell The zero_ethaddr[] array is never used; delete it. Signed-off-by: Peter Maydell Signed-off-by: Michael Tokarev --- slirp/slirp.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/slirp/slirp.c b/slirp/slirp.c index 6028036..35f819a 100644 --- a/slirp/slirp.c +++ b/slirp/slirp.c @@ -37,8 +37,6 @@ static const uint8_t special_ethaddr[ETH_ALEN] = { 0x52, 0x55, 0x00, 0x00, 0x00, 0x00 }; -static const uint8_t zero_ethaddr[ETH_ALEN] = { 0, 0, 0, 0, 0, 0 }; - u_int curtime; static QTAILQ_HEAD(slirp_instances, Slirp) slirp_instances =