Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp132624lqg; Thu, 29 Feb 2024 23:47:03 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV9vzjzUQy+h+QLzN+/zG7xQeHK90rqOvTSyvfSy0BFWd4d7MXwYMawIZrI7cxOFNq85uQRK2izFb72M97aN0//jqfMlR8QCtoiQ52oZw== X-Google-Smtp-Source: AGHT+IHy+tu0vrtigH9SF0t3Z2o2vjeiM8JhbRQp8Cy6afO/hpCuM7DesNFC+0FAAVKdB/3hoU0V X-Received: by 2002:a05:620a:2994:b0:787:ada5:b5c9 with SMTP id r20-20020a05620a299400b00787ada5b5c9mr1090695qkp.58.1709279223796; Thu, 29 Feb 2024 23:47:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709279223; cv=pass; d=google.com; s=arc-20160816; b=k1tH3Qujm6wLMWZmAmZlMhfK2y6HQkku4qWZ5jmyE6TmHj64JH4SUJ2HzhZ55B12q3 CiYjGVX/5K4NzueD3TybPTZAxlZglHPYPW0+KZpKQr1GRKrlLS8FbaTs6V3Wj8Lzl989 pUOZ7KsRaLRJjwND6+9UpdNdWYlCaPU/RmAlnga5xgvauQMRKZ9TClVexBqQtL8ZbkQM RHTTGljhVV1oXkgCjTLjx9alyEC69Q2oESP/cJgH9j8dIoduGRZjfU0+KGJKWOAzhjEi WRHPJzxIYbDRubNMxufI6N+I/At3pWVYSmTldWe+Q8Vw2eQb7iFZ/RnlM8ZIoAB2GbNV +1Qg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=ui-outboundreport:content-transfer-encoding:subject:from:cc :content-language:to:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=lS7MyZJFkiU+SRSvzdfTf89X2M03cEzhO12NsTTrgJA=; fh=y7ztJkCg5MNwqqlQ9Vx3zt1X8oTgo8+djqN99nq7+nU=; b=Fum2ntB2G3STKNS88UQkEzAdSvfyJVXIBKHlVn5g9/OtfWXY9LQSiat89Pv4cVRhXo tPWGH1R8v4VlV56NcWL9ofBlVt17ER5rTDd7xhHS1k5ir3+K6Q2s9vswPv3gL6fTylBi xSpTESj29jjc+g9g1N7DCLfiH2tYdIyBKAVcQHlsXUieZC0nmkzytG5rfR7E7oiZsty9 /yw+3AgVdAqT6DpdixE/rQ2zPeHIPEaTgSaA5PpBcvrJjT24CDlfeoctMK9jU9GGfqWA 8ogFPDq+yQ7MI0knPVXytXxuSHSialQv7lyn7ZXGR5f6gdo84vXyZvNG/yipWTRNOj1P kE/A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@web.de header.s=s29768273 header.b="vEWh/wuj"; arc=pass (i=1 spf=pass spfdomain=web.de dkim=pass dkdomain=web.de dmarc=pass fromdomain=web.de); spf=pass (google.com: domain of linux-kernel+bounces-88021-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88021-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=web.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id yf8-20020a05620a3bc800b00787ecce33bcsi2949456qkn.527.2024.02.29.23.47.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 23:47:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-88021-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@web.de header.s=s29768273 header.b="vEWh/wuj"; arc=pass (i=1 spf=pass spfdomain=web.de dkim=pass dkdomain=web.de dmarc=pass fromdomain=web.de); spf=pass (google.com: domain of linux-kernel+bounces-88021-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88021-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=web.de 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 86B441C2157F for ; Fri, 1 Mar 2024 07:47:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1182C69975; Fri, 1 Mar 2024 07:46:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=web.de header.i=markus.elfring@web.de header.b="vEWh/wuj" Received: from mout.web.de (mout.web.de [212.227.15.3]) (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 AE302405DB; Fri, 1 Mar 2024 07:46:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=212.227.15.3 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709279212; cv=none; b=DX9q3YT17fIBif5ZvPGfU6C+FK0X3M5TOESgT15z2b61jR07dRWyYekvoI+w+istQe3hfl8J/uCrGv3NvhPcP2AdEPCqq149n0XgIlXqpN6Jh6AQ6f8/OcOMfEBeT0PR8E/+n+k3AdgOyCTtDSUk3EcnjVGuRaM+tiLiyAZcmGA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709279212; c=relaxed/simple; bh=PtVj2Cs/5utkaUVwbD5AXLYA8GHmi80b51Oqj9vJ8HQ=; h=Message-ID:Date:MIME-Version:To:Cc:From:Subject:Content-Type; b=OVdWBBVUFc4Z3aMPvPJnojWueH3JtSeowaG37lMqRXEsgqL+LlZhtHczykNMNkymyo+znHieSnVpNHEsWgCiOajnSikGLmG4vu8mAx6ThErSSm4KT6UN25jIluDzuaDRQUx2uMhYsJIO0CLprX6FrOIus6xDfhT+paolF4/Wf0c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=web.de; spf=pass smtp.mailfrom=web.de; dkim=pass (2048-bit key) header.d=web.de header.i=markus.elfring@web.de header.b=vEWh/wuj; arc=none smtp.client-ip=212.227.15.3 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=web.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=web.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273; t=1709279197; x=1709883997; i=markus.elfring@web.de; bh=PtVj2Cs/5utkaUVwbD5AXLYA8GHmi80b51Oqj9vJ8HQ=; h=X-UI-Sender-Class:Date:To:Cc:From:Subject; b=vEWh/wujuPkr5ZgUKGrC7CR17ajTtwB8K0+7BUgACfosZ+YkVCxOkokrpBZ0MHPL yKIjqDGCfxtom0sTR+kmTUpuj/Ok4KAHTlO0RzySVvafbhY11Ga9PMd5zSS4PyfQk VAX3ElI3F02jdmh7X9DeJJqt3yfJlOnzxr462cjXEc2apqKpTvBXySiaALaGBBoMX I6Hs/BbvcvpBhoCBMaHFPQsQzG05yzM24gN8r+XBlIYbCaArZsEpXpM31FFpOEHOW 7nq8J8PkDaZMkyJ5Fs9eQfpsP6ak3+rXIOvj5AjCv9Rt1xeAiLgmrhFKbnRcpHObg 1uWF8XPffY4vRwqsmg== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from [192.168.178.21] ([94.31.86.95]) by smtp.web.de (mrweb006 [213.165.67.108]) with ESMTPSA (Nemesis) id 1MA4fW-1rZx3v2OaY-00Baxt; Fri, 01 Mar 2024 08:46:37 +0100 Message-ID: <79fa4854-976d-4aad-86ac-c156b0c4937e@web.de> Date: Fri, 1 Mar 2024 08:46:25 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: linux-media@vger.kernel.org, kernel-janitors@vger.kernel.org, Andy Shevchenko , Mauro Carvalho Chehab , Sakari Ailus , Tomi Valkeinen Content-Language: en-GB Cc: LKML From: Markus Elfring Subject: [PATCH] media: i2c: ds90ub960: Delete duplicate source code in ub960_parse_dt_rxports() Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:NG6uo48tDikPs/0i4tEmGu816A1pQ83tsl2OXdg3u6hJ5bwtoyO BjRU6fcWGkrgTk6joa1FlnF7RBUozfSJH9fqxJz0A/9TmzxZpXJTDatt1LM6B3NsqdN5T26 H853kokKn63cWdDZhBzT1ojYkPPy/rDan4daCVEou18V1+O5cXYY3P5ds0+ijVcTx9+xs+7 SXRSO+1JjmgDt/TNkOLDg== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:Z/ukpIoRDls=;0SinomGpMNGuyZ7CuXAkKrUBS69 o5VCs//WXLxsJQAdvYJT6ILPRcp+zspbC2T8zbwkUYBbMK7VQH3YrN1nXJQ7lz+VP7qB5HCQ7 n0/2lrwFfPwLCLSAx2nobiKHpwod+w+dPsLaqJzvpckXRLU5x/WZHQw8HfqkC//80zFd4fxv4 XMlFzDr5n5CC5os48AgQIe2jg3wPcH7gho1UcMg5RHfDD4Z/MvyJFkNbjYDXbbXsrBUH1jkiH Gvyptdpm1ftYOsc7TuH29vWpSWTqFGQ4n3NjkcP4U/OvWq3nDC1bdDLPUxj+yHN4uEYniMw36 mCf0odVkbJ7ubKuBmdM5ZymzMNYfVlmvEhsYDOnLRL8Z0LYWwUX1Imd82WWD/fTVVKBsAtGQ+ rT+tnd3um6Eag2RfK72cIPA4hzeD+14/ErRAMKAEgkJ9DaoHdCN664tBqak+n880rt8zZa4Xj X1HJb56WmFXbVpuBjcX+Fv/NfPHefUHFK4wyeYYwCO01I+8qYdOBKHpo8VWzAxpJuzqTBdtJD 8ZMn7OihOAHohXt1H9rzkeX0ezhzA50MA85RQSCycfQWd670621IiHhqprNTZy3VheNbNId6K 5d5Kzl9TpRWKAFFUE1bADesH6ffb5BGJCL4QUeltuGPotcTwUJN+8ubtHccdSHRegVDgsLMjG s7I8lfaJh900ZealoffrLoTp7e/d86mNk1KU+MSaeaDgpEy+lZKUaXeZrTd4zR5ztMeBQYdYA RcV5FisSS9OjRwARJpVix0Gw3k6Stevs/69UqHG9kOqsiTpD+3yuopk1UjOG46JfjaFDJvehl xxs6FmrjLYbbqpC7/0WYXaGaboDF5hmko5g4g/ePy0tCw= From: Markus Elfring Date: Fri, 1 Mar 2024 08:23:24 +0100 Avoid the specification of a duplicate fwnode_handle_put() call in this function implementation. Signed-off-by: Markus Elfring =2D-- drivers/media/i2c/ds90ub960.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/media/i2c/ds90ub960.c b/drivers/media/i2c/ds90ub960.c index ffe5f25f8647..eb708ed7b56e 100644 =2D-- a/drivers/media/i2c/ds90ub960.c +++ b/drivers/media/i2c/ds90ub960.c @@ -3486,10 +3486,7 @@ static int ub960_parse_dt_rxports(struct ub960_data= *priv) } } - fwnode_handle_put(links_fwnode); - - return 0; - + ret =3D 0; err_put_links: fwnode_handle_put(links_fwnode); =2D- 2.44.0