From patchwork Fri Aug 28 17:05:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 248595 Delivered-To: patch@linaro.org Received: by 2002:a92:5b9c:0:0:0:0:0 with SMTP id c28csp1257700ilg; Fri, 28 Aug 2020 10:07:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzgmICuBdSdPdjgUA5Nv/Yo3qNO5Tj4sDTpofpQbbwN9tM9s9wxk5qjxqufTevBsQj18pz8 X-Received: by 2002:a5b:411:: with SMTP id m17mr3934391ybp.176.1598634428239; Fri, 28 Aug 2020 10:07:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598634428; cv=none; d=google.com; s=arc-20160816; b=UaPqsTugEaGKV9SY7ryN29XW62dGcPnnPBXiDy8+0V0FliByuSBh3895pAvS9UnhmT 7CpS6W6ZSladvWV6P6YrqSwvHAdcvhtiCiKNGiPBTAQdSFCgOkUtqz+VEcDaI5qt7VYs 2iDivs/N+x2BvSR5UhW4EISgTgqStlkjeeWqPcGVyK1rb0Bn3Z7RYkQyrkb+k99rk0h8 zHql6bf9OokafQ2ephYqSvPW/ggGb9e/FzO5aWZMGjuPTfMcnBVTlp+8VuJpZ5Df78qm YpGX8VKCxLjuTwyWdW6SBbzVCKx6NGN0mWiNbTONZw6iHWL0DB5o6GFuq7TTUKm7nL7r PVtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc: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:to:from :dkim-signature; bh=G4aBqze3dMxYJ4S0H3/4ztu6UBprrxcKGaJBxwSWoZI=; b=nA8sOGwp4muNfzFnK5OqU0Yy/1iMfyGCO/RUYuZl4X1J+ehcN+z6l46Y8zZHwQQPHy xGPwGyQzOdMPPnDON3Qr8jG28492Kb0VoFzaVuKPdMOOcxzC5CNU8QjzotolYrmonGv9 f032vI3xpOY8oGUT0gBYEbEQlTh+rOmJDNVCTxQ7KPf1k4Mq8C1UVg7MRb9FkPJrMl4P xEIMvapdyj7ujmAepaJS1apT35KTtO/O33jFegIPbj826S2pNnIWsMzfYYqpGtWNiTuO WMoiILxET8vlSynh2tzU5qN02Q8lDTMFn6rDegz0UraVztvWBiHDLMyhqz37GyWQRInF 8iyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=I3KjoArD; 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=fail (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 79si1377693ybl.479.2020.08.28.10.07.08 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 28 Aug 2020 10:07:08 -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=fail header.i=@linaro.org header.s=google header.b=I3KjoArD; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:37738 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kBhqF-0006ma-KW for patch@linaro.org; Fri, 28 Aug 2020 13:07:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36634) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kBhoi-0003Zz-RO for qemu-devel@nongnu.org; Fri, 28 Aug 2020 13:05:32 -0400 Received: from mail-pj1-x1029.google.com ([2607:f8b0:4864:20::1029]:40574) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kBhoh-00030S-0t for qemu-devel@nongnu.org; Fri, 28 Aug 2020 13:05:32 -0400 Received: by mail-pj1-x1029.google.com with SMTP id kx11so20027pjb.5 for ; Fri, 28 Aug 2020 10:05:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=G4aBqze3dMxYJ4S0H3/4ztu6UBprrxcKGaJBxwSWoZI=; b=I3KjoArDaN3KKaUhyem6JJl7pG2J3QaSVS4XAkvDmxudW1TjtVLlFZ445IxB/dLKjv aHkgtjtXLClIzESQ5AwiXcoBtzjH3rSQrSlGhRvR6/aQnq9GLR0IC98HwFEet/NctH94 gLfMA56fKrh0B9b2gGnvI2A53ZgKpOHppIcAIBnGE5UektY0mPCBAVW6XrAVVBfFIfXx saloL5z3/66JpEE4XYtkv9xjjwd7zoMiihqe7Ai/ynhrIrLjxqK0YI5yicemGWc8SWGa ceCc9bZFtW2FEec9BNdbOqIlfrK7mbajqwxSmtiUm/wZHHv2ySIUGbjdXdHasSFmRaXJ /QrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=G4aBqze3dMxYJ4S0H3/4ztu6UBprrxcKGaJBxwSWoZI=; b=B31xlrrqz7v8LfhFSGzvAjQXSrBIfi49ERHEiMnqZegw5LOeG12uJg+xIJmsWhqNoY poaRTXrn6seV4COYN8BwyfoxWVu/INz6lOVK5Of6gVS8luELrTKuAGNejzQYj2MsHPW/ tO6I4P3Yzt2KoTQ5VCx0i+GvNHbxX2BIzNKK/cBgZjRIagGXE7W0hnheUIwFXHvxJpd9 rK3H6ak9iM+xbgtbA9Tcw+FqYYKavi9/EihSg1LTXWSVK7ArQeZgrQahjaYbEVLTuEMR qpSAz4pgsyYIa+8KMGF6FD/orwoXBPOj2uLaWdP6WNfkqrLT1n+mFrk8ntAQR+5CN/P5 oC7g== X-Gm-Message-State: AOAM531mfaH+AelyBhaUTgi1oWLxQET1/UTJG7PRD4McJ+1X0Sv/N4iK CnvuGb14mbQ6A41HPP2drycjFTXTbpnAGA== X-Received: by 2002:a17:90a:19d1:: with SMTP id 17mr59873pjj.93.1598634329101; Fri, 28 Aug 2020 10:05:29 -0700 (PDT) Received: from localhost.localdomain ([71.212.141.89]) by smtp.gmail.com with ESMTPSA id q12sm2277495pff.196.2020.08.28.10.05.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2020 10:05:28 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v2 03/16] crypto: Remove redundant includes Date: Fri, 28 Aug 2020 10:05:10 -0700 Message-Id: <20200828170523.418603-4-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200828170523.418603-1-richard.henderson@linaro.org> References: <20200828170523.418603-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::1029; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x1029.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , berrange@redhat.com Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Both qemu/osdep.h and cipherpriv.h have already been included by the parent cipher.c. Reviewed-by: Daniel P. Berrangé Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson --- crypto/cipher-builtin.c.inc | 2 -- crypto/cipher-gcrypt.c.inc | 2 -- crypto/cipher-nettle.c.inc | 2 -- 3 files changed, 6 deletions(-) -- 2.25.1 diff --git a/crypto/cipher-builtin.c.inc b/crypto/cipher-builtin.c.inc index 6eafd39da0..56d45b0227 100644 --- a/crypto/cipher-builtin.c.inc +++ b/crypto/cipher-builtin.c.inc @@ -18,11 +18,9 @@ * */ -#include "qemu/osdep.h" #include "crypto/aes.h" #include "crypto/desrfb.h" #include "crypto/xts.h" -#include "cipherpriv.h" typedef struct QCryptoCipherBuiltinAESContext QCryptoCipherBuiltinAESContext; struct QCryptoCipherBuiltinAESContext { diff --git a/crypto/cipher-gcrypt.c.inc b/crypto/cipher-gcrypt.c.inc index 81e4745bff..a62839914b 100644 --- a/crypto/cipher-gcrypt.c.inc +++ b/crypto/cipher-gcrypt.c.inc @@ -18,11 +18,9 @@ * */ -#include "qemu/osdep.h" #ifdef CONFIG_QEMU_PRIVATE_XTS #include "crypto/xts.h" #endif -#include "cipherpriv.h" #include diff --git a/crypto/cipher-nettle.c.inc b/crypto/cipher-nettle.c.inc index 0677fdfd33..256931a823 100644 --- a/crypto/cipher-nettle.c.inc +++ b/crypto/cipher-nettle.c.inc @@ -18,11 +18,9 @@ * */ -#include "qemu/osdep.h" #ifdef CONFIG_QEMU_PRIVATE_XTS #include "crypto/xts.h" #endif -#include "cipherpriv.h" #include #include