From patchwork Thu Sep 26 10:21:13 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: 830769 Delivered-To: patch@linaro.org Received: by 2002:a5d:66c8:0:b0:367:895a:4699 with SMTP id k8csp188856wrw; Thu, 26 Sep 2024 03:22:24 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUyRZ5YSr10r+FaUVIc9Flzwc32zBaH3ixY5n98On2rUkOjDUJe5PHRhMEbgtthy4Gkr6B05Q==@linaro.org X-Google-Smtp-Source: AGHT+IHrw8LkNF272/vyv5JwM1AklOyDHKvZwfu+qk3iFvypfWYTh5REfnguf79PtlFsCzjWtMkX X-Received: by 2002:a05:620a:370d:b0:7a4:f2e9:814a with SMTP id af79cd13be357-7ace7461dd0mr759810585a.54.1727346144169; Thu, 26 Sep 2024 03:22:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1727346144; cv=none; d=google.com; s=arc-20240605; b=EBAGwHeB6L7RMQZ7gOhQUeGhN52b5qU49WheciyWjE0HuU6dH1pAajsquQ3/7bS46g +vjRy5HvZ8hBhWvCZwmVf+vDI2mSNvsmC14C0+y8MBKZ03ekYzwZfdpCa4ydu/ixCX50 wnH89pIOE/CK/PK5RGhGccAKyi2jom7cQP/H1p2am4LiXAXn9QJzir2Gro9ZhqL61HuQ uFhdEESZBjmVUgYVEC7YcSMM4fzBcU2MbW7HiNGtps2UuH+B8H6HQgDTOa4cLDiHyzkg VOqcVAhgPmZ1N+72eUnlpKlpL/ei+UHs8F6kflNg+9gP7EPJVFBtDpC2YsX3JiijcG7H caMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=ARgJuVYou0E4VVmswK8zO7oNcaiQjYHO4FNJULuCZqY=; fh=8DvSM26qeYhGsMLbLR7/zZuyF/4OUrtAezIQ8pxNjTg=; b=kmBfg5BpkcIDdeObAn3Y0hNcAJNeCpWEfz59pVdMIZUlAoxC4qm/QGRyvkkhyKOcGI xPjqNhSozVEeh0+lMknoYzswXB5rG9PatZTBlEsnGhe5f6/+YPm0UA2rQQSlQ9a6JKz2 Li4NX+ZHsIZLllR38aevVadJLWhLqIXG3CsWjOGk8nIai4N16PiMAWk2Nvb3kO4nYxoB 8GnEqZXKDIR55LCODB4/bERRBVVuZif2LoI1jwdVIqZFMLrvRdzae3QimrWZs+9UbqP9 jbpCOqObdqejiXfOBpK1/LNn+sdtcpBa5PjJL/VSpDS2SfaMHZvMO3smYhQbzOhv5s97 rF6Q==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Bly7Skad; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-7acde54903fsi584374285a.209.2024.09.26.03.22.23 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 26 Sep 2024 03:22:24 -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=Bly7Skad; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1stlcl-0005Rm-Ff; Thu, 26 Sep 2024 06:21:27 -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 1stlcf-0005ON-GE for qemu-devel@nongnu.org; Thu, 26 Sep 2024 06:21:22 -0400 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1stlce-0000ME-0h for qemu-devel@nongnu.org; Thu, 26 Sep 2024 06:21:21 -0400 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-42cba8340beso12190035e9.1 for ; Thu, 26 Sep 2024 03:21:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1727346077; x=1727950877; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ARgJuVYou0E4VVmswK8zO7oNcaiQjYHO4FNJULuCZqY=; b=Bly7Skad2DmbYApu4HjJ1YUXSvE47c+yulK2w+XeSEaqh3KDSbvrgUVt3XCsV+4xAc HNQYAdlkbGoH+7/RbxoV00/dXB8Y/9G3SjPN0mT3dLgrZF3f7MOjyPpNcqRvc8zBTsvE sWP28AZ1kZPnJ2pMzIvnwXk/pegIDJhkKRNIhuOLyDhH5L/1a8WKHtnwa0oyFt6Bw57W bFM0wEMkRyxJp52y67JQbvM0sw/i/AIKUVqcXD7kx+d3Rffzk3hmqdUpJBXFT44H+dq0 +C1D7dCcP2ASsSVYHTAAfJI7DAHYBcjIqGM8fdB1+8Wiv70sUYtY1m1V4jts/QKuiF8M Dn7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727346077; x=1727950877; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ARgJuVYou0E4VVmswK8zO7oNcaiQjYHO4FNJULuCZqY=; b=HyiytIcHcyucJOAkXpu43ZlfIGK4VPMBWcRLHI3g18AgvssuR3iyqPLgKKlLiCAHCq LFymG5oqFqFzKklN8RRLmhkvb6yBCqqLRhS0fuZtHUDCuK6qGr2Rpj8hwyAT3hTW5zT8 dUfDf/ajcQmGMKYHPpKAx1xo/trvwDAyRNMMg7J0frqmkabcjmwEowiGZJv8CBv6rFcy /Kq0ZHJYHU+F+HhM1Fcw6/HY2duGVYkss9NAQHXcwH9F8FvlEv7EByHkzunYJT9hoHzu LJhZ35tYEhD8y4339+HtGWZaTk6tyWzlFjdLooVYtItkL8CxMg7CP+iv9QdBQm8QYQcf W1sA== X-Gm-Message-State: AOJu0Yw3/5omX634C2apJ9kg8G0l9MKjb9iW9SDZjk4nVx9fsxXeo0x4 YzJmBJutY9JoOsztA4aXnUjAP3gSTCjbOWnVlHGOB6cWtT8yXocGxHFt4V9c+Ft/MOjNSNsDM/V 9 X-Received: by 2002:a5d:64ae:0:b0:374:c2a3:63cb with SMTP id ffacd0b85a97d-37ccda72703mr1930694f8f.0.1727346076656; Thu, 26 Sep 2024 03:21:16 -0700 (PDT) Received: from localhost.localdomain (120.171.88.92.rev.sfr.net. [92.88.171.120]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37ccf3a4716sm1302184f8f.65.2024.09.26.03.21.15 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 26 Sep 2024 03:21:16 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, Manos Pitsidianakis , "Michael S. Tsirkin" , Gerd Hoffmann , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH] hw/audio/virtio-snd: Remove unnecessary "exec/tswap.h" header Date: Thu, 26 Sep 2024 12:21:13 +0200 Message-ID: <20240926102113.64890-1-philmd@linaro.org> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=philmd@linaro.org; helo=mail-wm1-x329.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, 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 We were including the "exec/tswap.h" header to get target_words_bigendian() declaration, but since commit a276ec8e26 ("hw/audio/virtio-snd: Always use little endian audio format") removed this method call, we don't need this header anymore. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Manos Pitsidianakis Reviewed-by: Richard Henderson --- hw/audio/virtio-snd.c | 1 - 1 file changed, 1 deletion(-) diff --git a/hw/audio/virtio-snd.c b/hw/audio/virtio-snd.c index 69838181dd..c5581d7b3d 100644 --- a/hw/audio/virtio-snd.c +++ b/hw/audio/virtio-snd.c @@ -20,7 +20,6 @@ #include "qemu/log.h" #include "qemu/error-report.h" #include "qemu/lockable.h" -#include "exec/tswap.h" #include "sysemu/runstate.h" #include "trace.h" #include "qapi/error.h"