Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1606575rwb; Wed, 28 Sep 2022 22:50:13 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4YGRGJ+DrMFc8sl3+W2uhQF+ORnZLQ+FQHvrT/n5FjcfoB1ubCn1mPuFeHm4GUYUTHHoo4 X-Received: by 2002:a05:6402:4441:b0:454:8a74:5459 with SMTP id o1-20020a056402444100b004548a745459mr1522616edb.155.1664430613702; Wed, 28 Sep 2022 22:50:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664430613; cv=none; d=google.com; s=arc-20160816; b=H+Ai5WhHoCd+Dej1lB1mUqygxVd546hK/z7Sbi7sZ8f+va4jnT2OrE5bDwGbATJQll ueuOF9Lm/GAyoJg5fK4SmolOBVDawfJxdDBQeMKYpJT2U2oBZkwZfIUnTRiVnp7DvOyO Gy8IaGhnDzC3FHVsMZ+JuPVj1M0zsrkpxZhcE5SESzBktaU6eoNDzVlPYC00GDYBAwhk 8AcRjkeTJHgmh2khhBMYBTkIUzMHh+1sFchbQ2sCgtesfJmDzu3XnANbwHDPBj59/+gP HDHAu8bA6igKi8q7Q4WyaW/BdXQ12t9HKkI75Lvm3U9X4iPndYGrz3kjIq3S3yAg3sq6 Mgag== 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=NSS90XzIUwzTdDOWt/ZJkCH8R3wimy5dMiboPLPjUko=; b=jG+tYh3Dep6rEZAOZPZt97b26rN++PSWkYD6wg3PhiDCfTy2HsrQgmv0l5ZMAtZIzB AbXEn232yAu0wtVsJ4Pb+uL2Wcdb7/3ROiXujqRqTJiI5cBl+nX+8aSLgSbVQrMs9AM4 GRCG2Cz8cmJk0mEf/TLKLvk9cuKJ273T43bo9sD71ibcy+Is4V6lKZKFspisClC1rIY5 jI0Po7/5naorvS8CSrroVl8Fxsia+NZuSDxSsUd5MZlIOUfufjsqTu0ulAk2GQhvjhTl yK3wYQy2hkDOsaDOWk5Xl6IIJWM27trZG1i1pSEv/ldXfPQwg3t3kzfUNeth0LFXnNod O92Q== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f24-20020a170906495800b0077a5733ac08si5602106ejt.601.2022.09.28.22.49.47; Wed, 28 Sep 2022 22:50:13 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234300AbiI2FkQ (ORCPT + 99 others); Thu, 29 Sep 2022 01:40:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231949AbiI2FkM (ORCPT ); Thu, 29 Sep 2022 01:40:12 -0400 Received: from out30-133.freemail.mail.aliyun.com (out30-133.freemail.mail.aliyun.com [115.124.30.133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E737C6D9F3; Wed, 28 Sep 2022 22:40:08 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R191e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046060;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=11;SR=0;TI=SMTPD_---0VQyR3bJ_1664430004; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VQyR3bJ_1664430004) by smtp.aliyun-inc.com; Thu, 29 Sep 2022 13:40:05 +0800 From: Yang Li To: yong.deng@magewell.com Cc: mchehab@kernel.org, wens@csie.org, jernej.skrabec@gmail.com, samuel@sholland.org, linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next] media: sun6i-csi: Remove unnecessary print function dev_err() Date: Thu, 29 Sep 2022 13:40:03 +0800 Message-Id: <20220929054003.37487-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL 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 The print function dev_err() is redundant because platform_get_irq() already prints an error. Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2314 Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c b/drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c index 8b99c17e8403..9119f5e0e05e 100644 --- a/drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c +++ b/drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c @@ -913,7 +913,6 @@ static int sun6i_csi_resources_setup(struct sun6i_csi_device *csi_dev, irq = platform_get_irq(platform_dev, 0); if (irq < 0) { - dev_err(dev, "failed to get interrupt\n"); ret = -ENXIO; goto error_clock_rate_exclusive; } -- 2.20.1.7.g153144c