From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sg-1-23.ptr.blmpb.com (sg-1-23.ptr.blmpb.com [118.26.132.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4AFB2285075 for ; Mon, 21 Jul 2025 07:52:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=118.26.132.23 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753084356; cv=none; b=YhH6Au5eV6PhcHTz668ypy0PT0Ly78aT82IeiQ3+Y4jJFUHLu5e0P23z1rstPoKOnjBdh3FkSKBz3py2gmeokf76wsICzXMm2aJZHbTCEcgLnjk2nHwPm2xA4sFFTKsvU1ipathTN47ed7qtHqESHa7jMGZvr5U2aUFV+BLTXOU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753084356; c=relaxed/simple; bh=piE1KZipH6AhPultPptmn7fkpUU6EewB4qN0e6j/ZU8=; h=To:Cc:From:Subject:References:In-Reply-To:Date:Content-Type: Message-Id:Mime-Version; b=iCzUN6IYjkZ1DfmTM/LL/BKhb7VyLGdJov/9OdXcdT+9elAOSusUYSVPnKFKj9ZCGVy8lMGdiIY86n3O1ylW33zs5suTOtrfU2xAO/4L7W+C9FR1BPJF14cJVj/lmHHmddLfIaH8GPiUSlb95qZJ6kKgxc7xXuEleK+ce3xmaVw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lanxincomputing.com; spf=pass smtp.mailfrom=lanxincomputing.com; dkim=pass (2048-bit key) header.d=lanxincomputing-com.20200927.dkim.feishu.cn header.i=@lanxincomputing-com.20200927.dkim.feishu.cn header.b=V5FXtHiM; arc=none smtp.client-ip=118.26.132.23 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lanxincomputing.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lanxincomputing.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lanxincomputing-com.20200927.dkim.feishu.cn header.i=@lanxincomputing-com.20200927.dkim.feishu.cn header.b="V5FXtHiM" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=s1; d=lanxincomputing-com.20200927.dkim.feishu.cn; t=1753084336; h=from:subject:mime-version:from:date:message-id:subject:to:cc: reply-to:content-type:mime-version:in-reply-to:message-id; bh=iPv+sitKDBk+AkqJ/K8rYIXbyZ6KkpKpVwlxt13ZGCw=; b=V5FXtHiMAnfws8mMWpFs/k78FHEa3CiLXqsQDMWLAgyf++RVjq6p+03bXskDotQLhCQ6kQ RE0dOxFq4HK6RkPMb7gSdATJsfGLzHvnVUonnSVMvWE/HIknMGFYmixcd+gcow4bDK5yYV v6Pxc2VuelawTTLxITc0Xpz1Bx/UbAWge3k6HjJ7O4EmMROqzddFK03qF0epNxZaKR2obY Ruw3weJM17rCqwSX6ugSa8bt7PBDQoRNpZXiSyVEI6KMwJzgsJawDmoDCOPJlDtniVHqj0 FK/SDPEe9grkOkIlvWyyzXRB2HjAi/PPRcIvAp7pB87UbGk7bhYO1SusZs1xNQ== To: "Chunyan Zhang" , "Paul Walmsley" , "Palmer Dabbelt" , "Albert Ou" , "Alexandre Ghiti" , "Charlie Jenkins" , "Song Liu" , "Yu Kuai" Cc: , , , "Chunyan Zhang" User-Agent: Mozilla Thunderbird Content-Language: en-US X-Lms-Return-Path: From: "Nutty Liu" Subject: Re: [PATCH V2 1/5] raid6: riscv: Clean up unused header file inclusion References: <20250711100930.3398336-1-zhangchunyan@iscas.ac.cn> <20250711100930.3398336-2-zhangchunyan@iscas.ac.cn> In-Reply-To: <20250711100930.3398336-2-zhangchunyan@iscas.ac.cn> Date: Mon, 21 Jul 2025 15:52:11 +0800 Received: from [127.0.0.1] ([116.237.111.137]) by smtp.feishu.cn with ESMTPS; Mon, 21 Jul 2025 15:52:13 +0800 X-Original-From: Nutty Liu Content-Type: text/plain; charset=UTF-8 Message-Id: <5c879527-221e-45df-86ea-b564ee49c473@lanxincomputing.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit On 7/11/2025 6:09 PM, Chunyan Zhang wrote: > These two C files don't reference things defined in simd.h or types.h > so remove these redundant #inclusions. > > Fixes: 6093faaf9593 ("raid6: Add RISC-V SIMD syndrome and recovery calculations") > Signed-off-by: Chunyan Zhang > --- > lib/raid6/recov_rvv.c | 2 -- > lib/raid6/rvv.c | 3 --- > 2 files changed, 5 deletions(-) Reviewed-by: Nutty Liu Thanks, Nutty > diff --git a/lib/raid6/recov_rvv.c b/lib/raid6/recov_rvv.c > index f29303795ccf..500da521a806 100644 > --- a/lib/raid6/recov_rvv.c > +++ b/lib/raid6/recov_rvv.c > @@ -4,9 +4,7 @@ > * Author: Chunyan Zhang > */ > > -#include > #include > -#include > #include > > static int rvv_has_vector(void) > diff --git a/lib/raid6/rvv.c b/lib/raid6/rvv.c > index 7d82efa5b14f..b193ea176d5d 100644 > --- a/lib/raid6/rvv.c > +++ b/lib/raid6/rvv.c > @@ -9,11 +9,8 @@ > * Copyright 2002-2004 H. Peter Anvin > */ > > -#include > #include > -#include > #include > -#include > #include "rvv.h" > > #define NSIZE (riscv_v_vsize / 32) /* NSIZE = vlenb */