From patchwork Wed Apr 17 18:28:02 2024 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: 789324 Delivered-To: patch@linaro.org Received: by 2002:adf:e6ca:0:b0:346:15ad:a2a with SMTP id y10csp172907wrm; Wed, 17 Apr 2024 11:30:06 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXu6tf8WaUp5s2Qt75HTH7mz756YMHQ8vcINN1NSSzjS7q1OqzlUwKxhTsWW8Bqvtewb4SrUnO2B93MRZvjpXjl X-Google-Smtp-Source: AGHT+IFAafdBJMHq9dMSy4We+PkmKyPSbnxYRVLltZ9bBzJKKsgUzdb2323GZK4mGsm2Qxq/piVY X-Received: by 2002:a25:361c:0:b0:dcc:744d:b485 with SMTP id d28-20020a25361c000000b00dcc744db485mr183484yba.33.1713378605645; Wed, 17 Apr 2024 11:30:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1713378605; cv=none; d=google.com; s=arc-20160816; b=0X6T6aCnVDC6OX86mhIMQA/0Weo063PoHV/V1oRajvJtJSFi5NgtlAfElyLmaOt9ar rlnTsqL7YkITv/R9qH0Nrzp1ESJQ9qmtT0snw59/uanxQOpK4Dx7pRMaCvVi959tnfBZ AUFp3Ptqd/uULcCBtuAPi2lN/7AHyO2cEc14VrexagJdyEOdiZW8/YunqSDfiF2UgLFu euSPF09WBbGChKgsrR3Hz+gdHLXC1g7IHYzqNs8t/Lm6crhVfcUy+QmO5WBhEo5aZzIO JHUyYg+lgPmjPBavxxpU0YXp/2Jr82TAxJj2xi5TXq7F4wDv0y5N9IzddHo0D7lyJyZ3 iNiQ== 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=NHZqwbv+wjH/HmWZ9HfsbsxWvnOGugUAYDu3jydEASY=; fh=4h2n32rS/QTVLHkSl86VTm16hqnAMuCXWV/jhovneZg=; b=AawmEr1cDzF7mtk+aDw1kRgC9amGLbCzHFzM7hpCL7orZqcWKX8Re8AyVE7lZXifWg H64p6KxbQ5qPsYeRPeZ6g9vy5ngefcHRKaKiCquaMXM2qnz4Soh0e29UeCbSKoeQrRL+ HnE0kmSF+BlIGFT3BDUtfZFPMqZALu6muh5TIg4IKthMeBc8tie11ZrJ/sY6ieaXQ0AI J7Rf+eeVZnPIoaHj6mNIFeTmGVF8LEnI78h4TH2hJqLXEUIifpyI/nI3shbywDqzL7RT M7Cp3Acu7dM4n6xCgyd4Wt+T6pBt4JJhsGp8QqW1Vn7XdiCOcK1g9icQCrPHQkklCHQX b1QA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UWShZDht; 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 6-20020a0562140cc600b0069f05f5331dsi4666877qvx.300.2024.04.17.11.30.05 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 17 Apr 2024 11:30:05 -0700 (PDT) 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=UWShZDht; 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 1rxA2g-00040F-OY; Wed, 17 Apr 2024 14:30:00 -0400 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 1rxA2Z-0003pe-AF for qemu-devel@nongnu.org; Wed, 17 Apr 2024 14:29:53 -0400 Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rxA2V-0003iu-KO for qemu-devel@nongnu.org; Wed, 17 Apr 2024 14:29:49 -0400 Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-570423c4f80so36972a12.0 for ; Wed, 17 Apr 2024 11:29:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713378585; x=1713983385; 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=NHZqwbv+wjH/HmWZ9HfsbsxWvnOGugUAYDu3jydEASY=; b=UWShZDhtgBhQH/+qCwmmIrsBli8sr8QxxH+AEfAMXYABQRgb3F32P4NcgSb/vPOJjP So83dk2p0P1LUQUvlirJ0dGJbzQORxC4bcpHBhCrbdqLL62J1m/XIl4I1rtEdaPk6T9A Ln8/6E1KfKoVaXXesz5UtSlhwflHe8Heu8oYzN3W73BkdkyQm80MUpWj95r/hP/UBerx zLcSJrbncanMtPJsJPQUSTNkgl72X5fuc+/t7jrv5tRkTOjxW45/KsSUeQS5SWprmzcs xLW/qqL4Aeo5JhwpLSnVtdI7Pul/GIGb51zbK2Wc6m+KDjKpa3v2HAi51t9newIfKtS4 ArSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713378585; x=1713983385; 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=NHZqwbv+wjH/HmWZ9HfsbsxWvnOGugUAYDu3jydEASY=; b=ZHbwM+OkUTdhiZ3ngJGKcIxW4gnvMpdH+F/3PgJ+Q5tEvvXEsy+uCcUBD86Md0J2xn UMsjdazs/leeBJfN5tciV5h2MJpxfmqintW2d2isvkifN2LZKZV9awSXeDp+YEkCOXbD +6fY/Ryca7SFTkLWuS8fusQW+WzyAV3IGjan9K3HkO4r4gLlGdpEYxQYx1ZuMeUgvkch YGiQ260Ba+s13ZucDpWHlX5ZF1psSlufz1pZeRgMWE77PuX/3/XEPsoCy9ov2wI2Nbjk pEyVGVmKpSu4DOoMNiwfYDg3ulJ7h0toFs4m/CajdQn3BIIEQEujz8U5o5CrYDqQ77mp SPJA== X-Gm-Message-State: AOJu0Yzb1sQ0dvkjqVvSEjnG326Iy8eSEj+3P7ahFM8c/95PLezCTVI5 BNdEXjZTRlUNE6OfLA+2bcA+KxRTNRfWMSEiL4OHcLNwn+UknUan/bN79kiWMN5r9cqLSf6AmfB G X-Received: by 2002:a17:906:2a89:b0:a52:671a:aaf2 with SMTP id l9-20020a1709062a8900b00a52671aaaf2mr179854eje.72.1713378585444; Wed, 17 Apr 2024 11:29:45 -0700 (PDT) Received: from m1x-phil.lan ([176.187.201.23]) by smtp.gmail.com with ESMTPSA id rh4-20020a17090720e400b00a5255afc856sm5615193ejb.84.2024.04.17.11.29.44 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 17 Apr 2024 11:29:45 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Richard Henderson , =?utf-8?q?Philippe_Mat?= =?utf-8?q?hieu-Daud=C3=A9?= , Anton Johansson Subject: [PATCH 17/21] exec/cpu-all: Remove unused tswapls() definitions Date: Wed, 17 Apr 2024 20:28:02 +0200 Message-ID: <20240417182806.69446-18-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240417182806.69446-1-philmd@linaro.org> References: <20240417182806.69446-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::52a; envelope-from=philmd@linaro.org; helo=mail-ed1-x52a.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 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 Message-Id: <20231212123401.37493-15-philmd@linaro.org> Reviewed-by: Richard Henderson --- 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 4de0d5a0d7..7c44ffb3af 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