From nobody Sun Dec 14 05:55:18 2025 Received: from out30-100.freemail.mail.aliyun.com (out30-100.freemail.mail.aliyun.com [115.124.30.100]) (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 F2509E573 for ; Fri, 12 Dec 2025 06:24:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=115.124.30.100 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765520672; cv=none; b=Lf5Y0RywMnAYN5FbAQmxLhI3mb57s5aV19VuuoabmBKaxpY/2vXF/qIP4x/iIukn6Tib3EK1/RF6e7v1kTGMKyz/MvRSUKTSizUkf0RlBDt6ChFxuzYdNso3GbQ2MlSofP4Sq4ehBfoE1fjFiFe1XzMp1OC2oQ7hMt/tNnCVAEA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765520672; c=relaxed/simple; bh=Q599Yzy8qRrgmkA5pGnnwJ95R/Q5s+EYkLPTOQ/5TcA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=gQXZ1LsGfL/T5oH6YTHjmopFerUgNgb9KUWiolb70fEjL9xO3hyBI87ta1MMh7tFoPWEO8pRsBIIAi6lEVR0wQDYP6+L5kPGMPYNzLiZXwsJMHCWsJyuffCDI4BTCm4DF8usBzB+p0bM6vxcxHExcksMpv64R7up/8jch3mH9XI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com; spf=pass smtp.mailfrom=linux.alibaba.com; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b=uiaIxXgU; arc=none smtp.client-ip=115.124.30.100 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b="uiaIxXgU" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.alibaba.com; s=default; t=1765520659; h=From:To:Subject:Date:Message-ID:MIME-Version; bh=ZRYB73EZftxOx7MVjVq6+5XT72gt6Zmz/5skMnlBO1U=; b=uiaIxXgUWaQ7TakwL8mWPZj8LfR4KqYwRLutpGzegARVI6nke7ofSVG31mGcVA/ZJyBp2xLuhPje7m0zqJsHz7qWkrEItbEeCx7LdO4OPhKkyFpf4vlsNYQwfZ64ow6oIjFuTl7L0Vu2XQCwFSkWPAMVPPZo5JJ1JrY2FyiEHX8= Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0WudEADX_1765520653 cluster:ay36) by smtp.aliyun-inc.com; Fri, 12 Dec 2025 14:24:19 +0800 From: Jiapeng Chong To: perex@perex.cz Cc: tiwai@suse.com, inux-sound@vger.kernel.org, linux-kernel@vger.kernel.org, Jiapeng Chong , Abaci Robot Subject: [PATCH next] ALSA: hda: Remove unnecessary print function dev_err() Date: Fri, 12 Dec 2025 14:24:10 +0800 Message-ID: <20251212062410.3706839-1-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.43.7 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 Content-Type: text/plain; charset="utf-8" The print function dev_err() is redundant because platform_get_irq() already prints an error. ./sound/hda/controllers/cix-ipbloq.c:119:2-9: line 119 is redundant because= platform_get_irq() already prints an error. Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=3D28045 Signed-off-by: Jiapeng Chong --- sound/hda/controllers/cix-ipbloq.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sound/hda/controllers/cix-ipbloq.c b/sound/hda/controllers/cix= -ipbloq.c index 99f9f48e91d4..c1084a915c13 100644 --- a/sound/hda/controllers/cix-ipbloq.c +++ b/sound/hda/controllers/cix-ipbloq.c @@ -115,10 +115,8 @@ static int cix_ipbloq_hda_init(struct cix_ipbloq_hda *= hda, bus->addr =3D res->start; =20 irq_id =3D platform_get_irq(pdev, 0); - if (irq_id < 0) { - dev_err(hda->dev, "failed to get the irq, err =3D %d\n", irq_id); + if (irq_id < 0) return irq_id; - } =20 err =3D devm_request_irq(hda->dev, irq_id, azx_interrupt, 0, KBUILD_MODNAME, chip); --=20 2.43.7