Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp1617943rdb; Thu, 25 Jan 2024 00:34:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IFf1373MYVjTFegnjoQzJWh4Cw4IpLiTV7ADcO3/EiaRDA4UvIXBvn3I3UL7uHyHTPbNjEh X-Received: by 2002:a05:6808:118a:b0:3bd:a5b3:df2e with SMTP id j10-20020a056808118a00b003bda5b3df2emr682549oil.73.1706171655461; Thu, 25 Jan 2024 00:34:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706171655; cv=pass; d=google.com; s=arc-20160816; b=eQz9akUZF1jfeNKgTjwx3ll/UOqB0j4db7Yg35AgYvm+lK9pLBHe8oyEVaH3RoAgXs M24YXeYrI5zx8HW04g0ebNhiomzz+8FGvv5+5UGhAgYoConacj8CT2MwJYLUa3JcByCh 9ZT73WQzC6f3RkrMarII0j7YHIuK+VCjdegZSyO6Ul7X0I30FMcRPUFTN/g4QWs8hAHb K76ASoil7Z7GmqxkCbIc1XxUzQc8Uz/EYMV0MPbCQ4HpNlxk96fTvJmkKca+mGAiYfjd B84/yzA5HSGv7RHBIpPIJ0K6UENqE23ujcj3mMHFFhKW3olcocoj4kjvRJbw/1LpcSCm BDag== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=grMXNakCEQnI65EnQbPDKF21V2K1dEj6vEvt3HF1y1w=; fh=AahBJXZs2cmNcsgR65zE7OySKMfsK8jp6IM5nU5J/4U=; b=yCmbvg9tomsjC26JejD3Fu2k0gQ7HB4ZrVqEbKAXGWKEEyWm+0dEksiQ2zoHgpRrUY /2yVPJTwfOKPcAuDVDGD1E2El142LRq/Crom01TZuyqzUJW0hkFIZvqUu43gJN6Fqunu U11/BdWvJEo/iDQbmWmWHj5mDMlSUoh92fkxYmHJfXKGNmHT+j/7EJXxXqrjGNE8VOQC rtCxmYyhvX9cvY73sm1cSc+kRVQ0J5AZdxh83XnrseGF9i6GY1QUVzEIdjeZAQ8niNFC I0FT3qFuTn6pdddF0jze0QXS8S+T0SRS0VCRzJyKMudVsr5gyS5YlTXGiTKBGYxmlRgb IjwA== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=kylinos.cn); spf=pass (google.com: domain of linux-kernel+bounces-38180-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-38180-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id s23-20020a62e717000000b006dda22fe678si1960156pfh.18.2024.01.25.00.34.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 00:34:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-38180-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=kylinos.cn); spf=pass (google.com: domain of linux-kernel+bounces-38180-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-38180-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 159FC285552 for ; Thu, 25 Jan 2024 08:34:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3F1481B945; Thu, 25 Jan 2024 08:34:05 +0000 (UTC) Received: from mailgw.kylinos.cn (mailgw.kylinos.cn [124.126.103.232]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E0E14E54C; Thu, 25 Jan 2024 08:34:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=124.126.103.232 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706171644; cv=none; b=EnxVKoAtlDqG7QHko+DpZTlnMzxR/cGqfM6zJHHR13jOB44dOAFV8zDhQOiBaUOaPyGoGZeEDXgqlrWk7HSGPacW9eLPqxX8/IZTY+To/43crdJ7cWCoz5iEojeK+/ih87a57jyY89Vstb93Is4deKdCBjHu+DpbF2iVHhHQpjg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706171644; c=relaxed/simple; bh=nu2X+w6CoHZuxTQ+GtRpCRPDCFCdqjvwG2j7jgKiTpU=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=bCeHpwyMeXErr1JF0VXi5dZD+qaKeYWmI5ZzHYlWvDpQJmWb2SSeZLtnwATOkUCkTRB9A7KkKO6gZ6mTPGu6yNGnKmsGGlKa7lbXzc9xjDiagBHOrZhyHiuH40xoR31hmhvznu3etj3Xjj60jASWEi9MHOctOw1ons+a/9LmAi0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kylinos.cn; spf=pass smtp.mailfrom=kylinos.cn; arc=none smtp.client-ip=124.126.103.232 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kylinos.cn Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kylinos.cn X-UUID: 8121b05ff4ae4a279be3bc3a10dff9e7-20240125 X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.35,REQID:61e0fa9d-4ed9-49a3-a7a2-54b5d96d874b,IP:10, URL:0,TC:0,Content:0,EDM:0,RT:0,SF:-15,FILE:0,BULK:0,RULE:Release_Ham,ACTI ON:release,TS:-5 X-CID-INFO: VERSION:1.1.35,REQID:61e0fa9d-4ed9-49a3-a7a2-54b5d96d874b,IP:10,UR L:0,TC:0,Content:0,EDM:0,RT:0,SF:-15,FILE:0,BULK:0,RULE:Release_Ham,ACTION :release,TS:-5 X-CID-META: VersionHash:5d391d7,CLOUDID:312e3e83-8d4f-477b-89d2-1e3bdbef96d1,B ulkID:2401251633590W14PIM2,BulkQuantity:0,Recheck:0,SF:66|38|24|17|19|44|1 02,TC:nil,Content:0,EDM:-3,IP:-2,URL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,CO L:0,OSI:0,OSA:0,AV:0,LES:1,SPR:NO,DKR:0,DKP:0,BRR:0,BRE:0 X-CID-BVR: 0 X-CID-BAS: 0,_,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR,TF_CID_SPAM_FAS,TF_CID_SPAM_FSD,TF_CID_SPAM_FSI X-UUID: 8121b05ff4ae4a279be3bc3a10dff9e7-20240125 Received: from mail.kylinos.cn [(39.156.73.10)] by mailgw (envelope-from ) (Generic MTA) with ESMTP id 1342124197; Thu, 25 Jan 2024 16:33:57 +0800 Received: from mail.kylinos.cn (localhost [127.0.0.1]) by mail.kylinos.cn (NSMail) with SMTP id 92147E000EB9; Thu, 25 Jan 2024 16:33:57 +0800 (CST) X-ns-mid: postfix-65B21CF5-371084490 Received: from kernel.. (unknown [172.20.15.234]) by mail.kylinos.cn (NSMail) with ESMTPA id E9161E000EB9; Thu, 25 Jan 2024 16:33:49 +0800 (CST) From: Kunwu Chan To: mpe@ellerman.id.au, npiggin@gmail.com, christophe.leroy@csgroup.eu, aneesh.kumar@kernel.org, naveen.n.rao@linux.ibm.com Cc: linuxppc-dev@lists.ozlabs.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Kunwu Chan Subject: [PATCH v2] KVM: PPC: code cleanup for kvmppc_book3s_irqprio_deliver Date: Thu, 25 Jan 2024 16:33:48 +0800 Message-Id: <20240125083348.533883-1-chentao@kylinos.cn> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable This part was commented from commit 2f4cf5e42d13 ("Add book3s.c") in about 14 years before. If there are no plans to enable this part code in the future, we can remove this dead code. Signed-off-by: Kunwu Chan --- Change in v2: - Remove redundant blank line --- arch/powerpc/kvm/book3s.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/arch/powerpc/kvm/book3s.c b/arch/powerpc/kvm/book3s.c index 8acec144120e..be9fbfbf62f7 100644 --- a/arch/powerpc/kvm/book3s.c +++ b/arch/powerpc/kvm/book3s.c @@ -360,10 +360,6 @@ static int kvmppc_book3s_irqprio_deliver(struct kvm_= vcpu *vcpu, break; } =20 -#if 0 - printk(KERN_INFO "Deliver interrupt 0x%x? %x\n", vec, deliver); -#endif - if (deliver) kvmppc_inject_interrupt(vcpu, vec, 0); =20 --=20 2.39.2