Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1651044lqp; Mon, 15 Apr 2024 12:39:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUWWyuWiOUTUho8qF0WGBAWrmiK2+3bf5+LsIN81ykimBVWdHb3eldQD8cxr2VQn/topavhwQVYc9XjQe0BQa8mMPb9AnIB5hwU3Bk4DA== X-Google-Smtp-Source: AGHT+IEwAwXUtoP2Q5tIX3/JS6JX3lkewCJvAy4ZhY1UhkaXw8ill4hr3SCzXv95H7Js6qRD9tyP X-Received: by 2002:a17:90a:db97:b0:2a5:fb3a:32e8 with SMTP id h23-20020a17090adb9700b002a5fb3a32e8mr8333167pjv.38.1713209967510; Mon, 15 Apr 2024 12:39:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713209967; cv=pass; d=google.com; s=arc-20160816; b=b2BBVPvB4HjoDcTAE3FuLH/1SP9Ykr3hzl7E3Nk+mXhV7E6a1r9XnzvXJOQrhW7Y0q aca0VyCw5X41UoaTP79Ai2jtaD5/a+aw7AqohYNnnwYE6rIGbVjkXn0+BjzDaN4BbHNP zVVmG2g8WWJrc92/KErJ1M/3RIyF494pZ5zzBfjqYq5tLqW9nkxxRYJBmTOGB8A93oDh aX64CqC3gjvqIpshanJAJRI6ihBctN35C8LIzlx6ut3tH4lPM8T5aQgVhGWNoV64gOKe iRb+EkhSKMm779tlrfkKfzo12btsRSWwbglr167w9J23ppwpolorEPCDcgryxzT4Wvne L9fw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=Zm8YRFoKsGw65QxzcHtGCuYCsdcn5gIPOa2id9cD3ac=; fh=z7AYov9CJC8ON732YuJ/LvlavrEi0712RxyRZFXLtik=; b=PjGnVgUmchPQov19h34oiKp3udJvHOHJh1nepgWdIyO5C/svtS3jCitd0snizIsUpg Wh9iu8ieMBBLPgWsJbkvbALnCEW/EEQ8dg7wzy0x4mkoAT0f3QX6GOfrgQVRdylwYvps nKqWKBmC+qBYRwCprfpz6Dr2D2kGVe9K6/tDi3tOTVORi0RypcH00ai0dDPhFjpuhmVr 4RHVQShn6fqo2QcU+YsZEs7jxdhxFWhAxaxHkz85yBT0wwsA6LQKulxMs/zwtwS7RVHt 0DG7HGC3fKuasoVoA1Vr9zMsxbr00TaJwD79d//tNL/m+lNIA8IUNeK1lEWV2/3Q1SRk uP0w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=O8z0ldQ5; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-145789-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-145789-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id v11-20020a17090a898b00b002a67a4783fbsi7735510pjn.10.2024.04.15.12.39.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 12:39:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-145789-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=O8z0ldQ5; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-145789-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-145789-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 7830DB23428 for ; Mon, 15 Apr 2024 19:38:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5FE9D15696B; Mon, 15 Apr 2024 19:34:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="O8z0ldQ5" Received: from mail-qk1-f172.google.com (mail-qk1-f172.google.com [209.85.222.172]) (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 6435E1591FF for ; Mon, 15 Apr 2024 19:34:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713209677; cv=none; b=ZYwzMMPi0PBAQ+wCRBVltVOzZii7vMgxP2S1r9lcrFl3pfthjG5sXdXzABI/9zn0pc1kTH81lXn1DayEqfU3mossdDdGp0K50NH7yJHV1eEsah4oLEy9yuE/VQ2gfoBzUBpM5BQKFJsdAqhGFrUuVGZ4gXi7RU2xvAfp8ysxnY8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713209677; c=relaxed/simple; bh=MDmosbXICkX9bO71/PJtanzfOgiN7bkwjkKDajARszU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=lBtjqBo94PRzydWslbJzqZuKkMaBHS2y3uQXERTDqkWU/XyOEvL9j2eAhOdw8kxpia2RcyT02zg+umC75ObhAwVk2jfWR+RnNLLbsLa1/Rgp+Yan94MXTnunDDNaCr0hicIlqysn2nbjDC+raA83Y3M5SYNqL2TERe+h5+c8XQA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=O8z0ldQ5; arc=none smtp.client-ip=209.85.222.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-qk1-f172.google.com with SMTP id af79cd13be357-78d6bc947aeso294362985a.0 for ; Mon, 15 Apr 2024 12:34:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1713209674; x=1713814474; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=Zm8YRFoKsGw65QxzcHtGCuYCsdcn5gIPOa2id9cD3ac=; b=O8z0ldQ5QYnBjoKoDhIh5Qh/8gkskjSS3bwhjAt+tl+eK6IhSe1vqtbt+GIFuxb+/U jRJEFYmz6OOh/a7X5OzVybIoN/qdfidEjUMoA7gKACKJ/TPLOmQ/3tZ64oTZ028bL48w ZCoaBZq0gBdILFOLgpnVGU/H/EpfeE4Nomcsg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713209674; x=1713814474; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Zm8YRFoKsGw65QxzcHtGCuYCsdcn5gIPOa2id9cD3ac=; b=agDokQ2ayOlClA0ftucTd7xuPVHm69YxQ/fiyUB15+4/0KRFraGo3E9DoHhaqZqFnX uEi4Invj2EjZXS5G4SMDyVVJOPwm0JGhnf07Vn2vgpvDfpUfwALNL76ys5e88ilMvkIx 6shVcn5TxG60mnAqgb0fh7M/a0TRqBMUJjVC9KwlEaGIRRFXXL18T+saUmvNvCS9mlKn lOWFTIaGfh4tzNMpxUanWRU44N+lBCrSTn8/1kq5/ui+Ty9P4J8TDK4gO0QxvP3CQQRJ 1/i0Aa+sCYcNaK+kEVzt12Yks9FtGReSczUd1kwoa7BWkzXa+rEsOeBnYVEfL6CxNIeA GHvA== X-Forwarded-Encrypted: i=1; AJvYcCXJnqAX0DZxES/CFH7bIKtOHGJXEjuCa2ovK0t7loAEqj5vZKhQLonqrQE3NMBme2IxLfilSCTitne8L7LEaBqcR+LsoHCyatIQ1c66 X-Gm-Message-State: AOJu0YwhnT4GNAkr5DenOB0fqt1wLy1wh1Z+B+9ZcGMbfmCUnU1TilnB DwNHOZ/RH9Bbd9aIj+P9fsCzm4UxNc75fMHG2mNo3dksarM3qgge4715HGTSHA== X-Received: by 2002:a05:620a:2116:b0:78d:61e8:2f12 with SMTP id l22-20020a05620a211600b0078d61e82f12mr12082197qkl.57.1713209674381; Mon, 15 Apr 2024 12:34:34 -0700 (PDT) Received: from denia.c.googlers.com (114.152.245.35.bc.googleusercontent.com. [35.245.152.114]) by smtp.gmail.com with ESMTPSA id s26-20020ae9f71a000000b0078d3b54eb76sm6718055qkg.78.2024.04.15.12.34.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 12:34:34 -0700 (PDT) From: Ricardo Ribalda Date: Mon, 15 Apr 2024 19:34:24 +0000 Subject: [PATCH 07/35] media: staging: sun6i-isp: Remove redundant printk Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240415-fix-cocci-v1-7-477afb23728b@chromium.org> References: <20240415-fix-cocci-v1-0-477afb23728b@chromium.org> In-Reply-To: <20240415-fix-cocci-v1-0-477afb23728b@chromium.org> To: Martin Tuma , Mauro Carvalho Chehab , Laurent Pinchart , Hans Verkuil , Hugues Fruchet , Alain Volmat , Maxime Coquelin , Alexandre Torgue , Paul Kocialkowski , Greg Kroah-Hartman , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Sakari Ailus , Thierry Reding , Jonathan Hunter , Sowjanya Komatineni , Luca Ceresoli , Matthias Brugger , AngeloGioacchino Del Regno , Hans Verkuil , Sergey Kozlov , Abylay Ospan , Ezequiel Garcia , Dmitry Osipenko , Stanimir Varbanov , Vikash Garodia , Bryan O'Donoghue , Bjorn Andersson , Konrad Dybcio , Benjamin Mugnier , Sylvain Petinot , Jacopo Mondi , Kieran Bingham , Laurent Pinchart , =?utf-8?q?Niklas_S=C3=B6derlund?= , Pavel Machek Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-staging@lists.linux.dev, linux-sunxi@lists.linux.dev, linux-tegra@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-msm@vger.kernel.org, Ricardo Ribalda X-Mailer: b4 0.12.4 platform_get_irq() already prints an error for us. Found by cocci: drivers/staging/media/sunxi/sun6i-isp/sun6i_isp.c:389:2-9: line 389 is redundant because platform_get_irq() already prints an error Signed-off-by: Ricardo Ribalda --- drivers/staging/media/sunxi/sun6i-isp/sun6i_isp.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/media/sunxi/sun6i-isp/sun6i_isp.c b/drivers/staging/media/sunxi/sun6i-isp/sun6i_isp.c index 5c0a45394cba..a6424fe7023b 100644 --- a/drivers/staging/media/sunxi/sun6i-isp/sun6i_isp.c +++ b/drivers/staging/media/sunxi/sun6i-isp/sun6i_isp.c @@ -386,7 +386,6 @@ static int sun6i_isp_resources_setup(struct sun6i_isp_device *isp_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.44.0.683.g7961c838ac-goog