Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1462319iob; Thu, 19 May 2022 07:11:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyd+l8iuKYJSS/Hng9mqewc8JaJwuxXD7N8zPgK8ODLcEkmqgMMKbHGadvx6k/6RPBHTbs9 X-Received: by 2002:a17:906:dc8f:b0:6f4:e6df:a48d with SMTP id cs15-20020a170906dc8f00b006f4e6dfa48dmr4611797ejc.206.1652969472400; Thu, 19 May 2022 07:11:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652969472; cv=none; d=google.com; s=arc-20160816; b=I7/ydiqsxgKWnsVC6lDiPh4dusLTGNmoHQ/o3cEfKljst1lZ84HMkwVJlr8DWASCjw y9qHBZ9Tqg4TonzH7zJSGdBj1n8wWTlQ6gM4TX23wG1FSc7YB9BgG1Ma/SsFvMIqMeqF k4VyWB8lM6UXx6pIebK8HeOcvyXQZ9Hcb9pHMO8Td0DAAdzJ9wB9HeVs+YHVKmNd3FpI B6oOgHLPInet/A8GuEQ7mtyHPKlL72VSxXNcKn/IpOHapngFc9W2NyecyOWiut9jZH5m v82KIq+u0yVY66a8bxf5qC95fWK7Vy3nrocaVc0HrulzOO7FVKVvPfXsVAVrihpJwBVs wyRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=cxKLnTm4HffS57DNmGLPpMTPmCcZQWqFBEr35/MEMcs=; b=foo+G2dZzZ46NP3kHsdM87wx6jec0o/Ams55XK/wIvAac2MzDunJUfF/5sDKEXdQgF m4QBF0hf6AqzLrDgrD9nBVM28MFGXuz38Kr4Ee5QMjTIGjRAslAnV14TFGJ1LCWBeQgc 1JyLMEhePdglfqKps2oQcr+Dk59oomiViq0+PsUEeaDUnAAaSGdwuwHV19tnjeaSVE8z h7Ip5+eHFzHSAmN9934chdqMu9zOtGGWcgol3wjn7XYBLPwtZU6KKhqEiebQieMG6PGr 7+S9lfQxWSnDvzyzvR102gWPK9m/GQNM5Hca4J2ZRkIWX5GBYtXNsuwRXq8HuDq8+HAl DXmA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y3-20020a056402358300b0041cdbb0e667si6109624edc.549.2022.05.19.07.10.41; Thu, 19 May 2022 07:11:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235068AbiESNIN (ORCPT + 99 others); Thu, 19 May 2022 09:08:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235395AbiESNIJ (ORCPT ); Thu, 19 May 2022 09:08:09 -0400 Received: from cmccmta2.chinamobile.com (cmccmta2.chinamobile.com [221.176.66.80]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 380D3B41DD for ; Thu, 19 May 2022 06:08:06 -0700 (PDT) X-RM-TagInfo: emlType=0 X-RM-SPAM-FLAG: 00000000 Received: from spf.mail.chinamobile.com (unknown[172.16.121.9]) by rmmx-syy-dmz-app05-12005 (RichMail) with SMTP id 2ee56286413123c-a8463; Thu, 19 May 2022 21:08:03 +0800 (CST) X-RM-TRANSID: 2ee56286413123c-a8463 X-RM-TagInfo: emlType=0 X-RM-SPAM-FLAG: 00000000 Received: from localhost.localdomain (unknown[223.108.79.99]) by rmsmtp-syy-appsvr05-12005 (RichMail) with SMTP id 2ee56286412f650-e91c1; Thu, 19 May 2022 21:08:02 +0800 (CST) X-RM-TRANSID: 2ee56286412f650-e91c1 From: Tang Bin To: hyun.kwon@xilinx.com, laurent.pinchart@ideasonboard.com, vkoul@kernel.org, michal.simek@xilinx.com Cc: dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Tang Bin Subject: [PATCH] dmaengine: xilinx_dpdma: Omit superfluous error message in xilinx_dpdma_probe() Date: Thu, 19 May 2022 21:08:55 +0800 Message-Id: <20220519130855.7664-1-tangbin@cmss.chinamobile.com> X-Mailer: git-send-email 2.20.1.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In the function xilinx_dpdma_probe(), when get irq failed, the function platform_get_irq() logs an error message, so remove redundant message here. Signed-off-by: Tang Bin --- drivers/dma/xilinx/xilinx_dpdma.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/dma/xilinx/xilinx_dpdma.c b/drivers/dma/xilinx/xilinx_dpdma.c index b0f4948b0..f708808d7 100644 --- a/drivers/dma/xilinx/xilinx_dpdma.c +++ b/drivers/dma/xilinx/xilinx_dpdma.c @@ -1652,10 +1652,8 @@ static int xilinx_dpdma_probe(struct platform_device *pdev) dpdma_hw_init(xdev); xdev->irq = platform_get_irq(pdev, 0); - if (xdev->irq < 0) { - dev_err(xdev->dev, "failed to get platform irq\n"); + if (xdev->irq < 0) return xdev->irq; - } ret = request_irq(xdev->irq, xilinx_dpdma_irq_handler, IRQF_SHARED, dev_name(xdev->dev), xdev); -- 2.20.1.windows.1