From patchwork Tue Dec 12 12:33:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 753064 Delivered-To: patch@linaro.org Received: by 2002:a5d:4c83:0:b0:333:3a04:f257 with SMTP id z3csp1875818wrs; Tue, 12 Dec 2023 04:36:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IEOto/vEULalAw5iLS8eGdfp863OwdIpYs9aNwT57k/CTZlBGEFw2h5WX90fJmqDA8Ok8cR X-Received: by 2002:a05:6214:48:b0:67a:96c7:4c90 with SMTP id c8-20020a056214004800b0067a96c74c90mr5747460qvr.38.1702384604837; Tue, 12 Dec 2023 04:36:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702384604; cv=none; d=google.com; s=arc-20160816; b=vDIASwKRyaAWU8VwKCkIfBbw/fggbQ/k/ohRv9ER4J9dFivcEwETebiHimgo/QYRjX kekwo99iNgEFMtDVv4kwFbl1O+O9fdMKBEZ9rGEqBr0ZLoWjZ798u0W4zVQSgNGcdrbz 2B8KNl2Qy2cNt4SgHTLqAk8H/OqukWvIpZT+vF0sHsC+OEo7UWkEWAhec4bBOJlWcxNk nfZ8xssD1ZnCoxq1XBw1kIAupyhjo0EBdXRYiGcLIbH7RFQ2uLUcOh565FFCjArJu8BE BgOVSXGcpjtrj848LZCvZjD2Un+gup37Pdr4W9WaQ9BpQRSh05t6S+Fg1ovnXfF+Fy+c T3MA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=OWfYjgvijR4Yk7OOcPMVJ3eTtKOWWmhjXW8fnIT+sQQ=; fh=vlFEGdij83GYetLrOUaCnR04sbYRvtckD5L7fw5192c=; b=OEI18YYjnJ5M9C0jswgh6juQS6whe4ei0VfC2v/9M6G5Nvsoh78U60Uq6aOL0PycXX yaSCwvZuQbarVNjH+DB2j1ozVU7xbxWDNlYWcSrEMyXY56gKupA1uTNmykfzaesXXj8K uhgU8QMtChIOz7bzq6rPzL2IgEC+mu2ReaLn/fjVSRARqDw/YniDrnWPSsDA9ZaKQZpg QQaH9ZOnFtmny6Wfrh7DAoWYkIs0a5KfuLfEBtePsOr5ZVZD2Qa3QJOXnTZjH93rMcZK uJ/bWfK5mU6PBcsVx3Tcdyroq+z4Y/wEzx5Kg1jvyvA4d5vIrNUuXw+jXOm1wWXKUpGW dSZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NVzlCuX9; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id t8-20020a0cea28000000b0067a1b0570d1si10680812qvp.302.2023.12.12.04.36.44 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 12 Dec 2023 04:36:44 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NVzlCuX9; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rD1zU-0001X2-Al; Tue, 12 Dec 2023 07:36:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rD1zL-0001Kq-GV for qemu-devel@nongnu.org; Tue, 12 Dec 2023 07:35:51 -0500 Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rD1zG-0007nv-6f for qemu-devel@nongnu.org; Tue, 12 Dec 2023 07:35:51 -0500 Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-a1e2ded3d9fso684158966b.0 for ; Tue, 12 Dec 2023 04:35:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702384544; x=1702989344; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=OWfYjgvijR4Yk7OOcPMVJ3eTtKOWWmhjXW8fnIT+sQQ=; b=NVzlCuX96NZIBhEtiKScpwa8c2gqhzzP5HWnJL/FLlGiax/IQ9kcNJosOUVvnFhDjm OJlpd38Mfafl+YG4Gg7lyXw0bw1n/XjsvydhNKgNs5mq/PXPbOxHNRGo5kWjET/iZuy7 hNxTs0A45Y9GEQ4II5yg6tA4HWIocDyaDzgxr0cVHW/ogxRusktKxqskZb1RUND5iJzA BjlwnbieKqEM8HyxnfF411nnm6PA7zKSUpdA53Di6dx91KCN0xZzA3Rt5ubelW351dGi MCYlB3k56VIJd/wRWKfd6ftrQAFQcBsuoXNMygoNNr8QMggF7R0E1kbDr2/ZEIESfK7t nfmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702384544; x=1702989344; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=OWfYjgvijR4Yk7OOcPMVJ3eTtKOWWmhjXW8fnIT+sQQ=; b=phgv2+EVLu4rfBTU05CwUtrDE7IqEXV4Ie/oL0fuY4YehwC/PpYiB4wLpCSr6y7kVU Ak92xQDo9ZY40Ik0NIAMyQNFp5Kxwaa1aPQrDgtL0Vfqpfsg4CIUEtnFmML7lIpBg/rA +Zlk4tSUNKiH+oPPRoF3GmfX2bIpVP5wrjyImIUd5W34DtGMtPGLBBPBKuRfL43maGck Y6JY8Ipt3IA4dkYfQuFoa0ECXc8ZKPcoGqkFnJzhZb93t1t857dFwywc4tEuuXN0BXZE 8DoemfVvbeg0YzlrxNGJddXqkhkv31rHdsTZX8s7DuyZ60ceMjE31ljgz1r+pGzEtril 9iAA== X-Gm-Message-State: AOJu0YyMufPwbN9NaU5OlmqL5s91w/eI8HERE0Aw9zEsdkeWelYNqlvf hOQaqpnzwspBx1QYmxHU5BbqvuRmfsF0zyUAyLHeog== X-Received: by 2002:a17:906:fada:b0:a04:9608:3c89 with SMTP id lu26-20020a170906fada00b00a0496083c89mr3373488ejb.75.1702384544671; Tue, 12 Dec 2023 04:35:44 -0800 (PST) Received: from m1x-phil.lan ([176.176.175.193]) by smtp.gmail.com with ESMTPSA id uv6-20020a170907cf4600b00a1e443bc037sm6276535ejc.147.2023.12.12.04.35.42 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 12 Dec 2023 04:35:44 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Claudio Fontana , qemu-ppc@nongnu.org, qemu-s390x@nongnu.org, Richard Henderson , qemu-riscv@nongnu.org, Brian Cain , Thomas Huth , Paolo Bonzini , qemu-arm@nongnu.org, Manos Pitsidianakis , =?utf-8?q?Alex_Benn=C3=A9e?= , Anton Johansson , Warner Losh , =?utf-8?q?Phil?= =?utf-8?q?ippe_Mathieu-Daud=C3=A9?= Subject: [PATCH v2 14/23] exec/cpu-all: Remove unused tswapls() definitions Date: Tue, 12 Dec 2023 13:33:50 +0100 Message-ID: <20231212123401.37493-15-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231212123401.37493-1-philmd@linaro.org> References: <20231212123401.37493-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::634; envelope-from=philmd@linaro.org; helo=mail-ej1-x634.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 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 Last use of tswapls() was removed 2 years ago in commit aee14c77f4 ("linux-user: Rewrite do_getdents, do_getdents64"). Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Anton Johansson --- include/exec/cpu-all.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/exec/cpu-all.h b/include/exec/cpu-all.h index 5b5379b94c..b042d94892 100644 --- a/include/exec/cpu-all.h +++ b/include/exec/cpu-all.h @@ -38,11 +38,9 @@ #if TARGET_LONG_SIZE == 4 #define tswapl(s) tswap32(s) -#define tswapls(s) tswap32s((uint32_t *)(s)) #define bswaptls(s) bswap32s(s) #else #define tswapl(s) tswap64(s) -#define tswapls(s) tswap64s((uint64_t *)(s)) #define bswaptls(s) bswap64s(s) #endif