Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4663797rdh; Wed, 29 Nov 2023 07:27:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IEGkK5Bv/Ll8UdbeF0K4KfE3QOUMMyyTPcgA7NZ1VQfFG1JFgla0zaWac0RfBoahIlXuNH6 X-Received: by 2002:a05:6808:e8e:b0:3ae:5442:ed1b with SMTP id k14-20020a0568080e8e00b003ae5442ed1bmr22465352oil.43.1701271660798; Wed, 29 Nov 2023 07:27:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701271660; cv=none; d=google.com; s=arc-20160816; b=btkJ/zf0jRjVfjw6RW1anyV5KoPxduNtI40+blZUQqL3lC/bmfZLn9gkgRHoy+bJJ8 fjjhR0aidsNB0Xu7XMxGE2aALP0wWOScJy3EuZAC3OiPTNePVylm13aQhR5/Zq1L5K1N 8rpWlbvibsJJYzeBJffzSaNhXOTFS/BWlfv9pygbqXKa4nTnqejvxaVXGb+GX8ISPVTb nojq05BAOzKKmdlwksC0Ak8cHTn4GR+MjFV7pYjZYRmCfRiljd9uyMDUbIFrZpwOd3CY DqouJzqXtuyCS9D4kBbras3O8Ykrzb8lkDIt80NfZrrpoAjCXAbPZaZavYHq9XLqbBn+ Wrtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=/MyM4IfQS+Dzj09XRcPbJN6APwuXnnue+rHLpk7D24A=; fh=lwSoWzxFgElz870zfiYjK9IUzI6DgmKcUjvGVkpbGwE=; b=CrEx4EA6zorwgvZ2KCE5ZX6ziaFBdv/M9IkgECQBmPrWszyI2thZsq0rZQ2LOFYP3N JRaWoLM3ZEU7rJdxqg5GM4BMID86KjAZ2DnBFgJn2SGWMsSBz8ktWoB+dlmxuOXqeUpQ bhsytM2Shtn7sUla9KF+azMy6lVdr6zqCq1YKnxO7hy+LXN7v5uEQHwKp1VWYGcyLBtY i0XEWDUl7GyGG+RHfzHkPyQEBGgSdN0ZrobNuhU/U2jlukQTgIcnaGcZrwN18DdKO/Dq hKPFK/HGfommzUceboUSoEaDxkqJgr+rIYfvnMdXQ0vRtizPfC0SmYFvbkUNA4wh8Dbr KUZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="NaUuA/z8"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id r37-20020a635165000000b005bdd7cadb98si14619117pgl.54.2023.11.29.07.27.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 07:27:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="NaUuA/z8"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id AAC8B80A1D93; Wed, 29 Nov 2023 07:27:15 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343626AbjK2P0v (ORCPT + 99 others); Wed, 29 Nov 2023 10:26:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235003AbjK2P0h (ORCPT ); Wed, 29 Nov 2023 10:26:37 -0500 Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9254F198C for ; Wed, 29 Nov 2023 07:26:20 -0800 (PST) Received: by mail-lj1-x231.google.com with SMTP id 38308e7fff4ca-2c9b5b72983so23282241fa.2 for ; Wed, 29 Nov 2023 07:26:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701271579; x=1701876379; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=/MyM4IfQS+Dzj09XRcPbJN6APwuXnnue+rHLpk7D24A=; b=NaUuA/z8JUN8doWGcUvBfOd95lTiEbeXWapz80P909bXMxUYMUc/fJzaf3TnH4YLVC iVBx2W/hOtkgSPq4oyo4tMHbz9EOVNKbl2azsibB5/qcyLVu3wjjn13Ce2wB9udgVgaY 2Zr8jB9wBJm7+/A6RhKG+JntbIOkyIJXoYuv+OV0AO+U6sRXGf2uNvg4H5w16JtZuNHt nFKi16GPR7+13wDHHqCD35YD/J/um9FCX4V1sKuIeCuPubSgOl/BrKKKUfIA8wQKf6pk C/fXwyrrWsTPjVNY/tko9nbT676w2A69hWs8Ab0eFAgM+KqmO9xQ/4chkNGOkVjSIaN+ RfFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701271579; x=1701876379; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=/MyM4IfQS+Dzj09XRcPbJN6APwuXnnue+rHLpk7D24A=; b=R7HrWkMyPyOEawA2WwHT17T9m7kB2DEIx1lC8X37+20fulhOzJ8IbMmygPqoelmaWf GPjOSakKQCg1FLVaSeOBqH+v3UKp6lm8Sj0cPPEUVefa92QOec8vQDj2ckMwCWn3t24N 1/9L++hWynABzf8rGH2LLV+prNf+6SMMEGmDMV4OAB8l5YHBhNcEXzgyYZeQQ2T21GfU 2O0HtaWK6rJcWQy2KvkCGOBkfk/c3pxocXt+CdirjAGuqEhB8pnaUJ9nLRrsmg2vVC5H 32UeuC/BK0eAnK9zD492CeF/4C94zrkSSMo+wFLZk1dv6GLisSin9D/9BDAYuV+e7+bZ y7vA== X-Gm-Message-State: AOJu0Yz5mmNqQRT16CzXD+oYArKR2VMRa7jpwehtqLexTRXMYazEKSvG SdNBp60qCu7W6UbcZy9NSKZ8Fg== X-Received: by 2002:a2e:9a14:0:b0:2c9:abae:d05e with SMTP id cy20-20020a2e9a14000000b002c9abaed05emr5621870ljb.13.1701271578787; Wed, 29 Nov 2023 07:26:18 -0800 (PST) Received: from ?IPV6:2a05:6e02:1041:c10:38f1:13b7:9b7a:2d6b? ([2a05:6e02:1041:c10:38f1:13b7:9b7a:2d6b]) by smtp.googlemail.com with ESMTPSA id g18-20020a5d5552000000b0032f7e832cabsm14788668wrw.90.2023.11.29.07.26.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 Nov 2023 07:26:18 -0800 (PST) Message-ID: <185c1c0e-c9f8-416b-8bcf-34070b1d8a37@linaro.org> Date: Wed, 29 Nov 2023 16:26:17 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 1/2] thermal: trip: Drop a redundant check from thermal_zone_set_trip() Content-Language: en-US To: "Rafael J. Wysocki" , Linux PM Cc: LKML , Srinivas Pandruvada , Zhang Rui , Lukasz Luba References: <12350772.O9o76ZdvQC@kreacher> <4897451.31r3eYUQgx@kreacher> From: Daniel Lezcano In-Reply-To: <4897451.31r3eYUQgx@kreacher> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 29 Nov 2023 07:27:16 -0800 (PST) On 29/11/2023 14:36, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > After recent changes in the thermal framework, a trip points array is > required for registering a thermal zone that is not tripless, so the > tz->trips pointer in thermal_zone_set_trip() is never NULL and the > check involving it is redundant. Drop that check. > > No functional impact. > > Signed-off-by: Rafael J. Wysocki > Reviewed-by: Lukasz Luba Acked-by: Daniel Lezcano -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog