Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp143218rdg; Tue, 10 Oct 2023 06:37:27 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEWGDonx3pBPOh91o5MdPvaL9ta402d0mL3eyZN1YguHhXFIS2kAOYOGiLCjJgNyG/0DkDc X-Received: by 2002:a05:6300:8003:b0:172:9b19:66b6 with SMTP id an3-20020a056300800300b001729b1966b6mr536466pzc.32.1696945047036; Tue, 10 Oct 2023 06:37:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696945047; cv=none; d=google.com; s=arc-20160816; b=im8zBmD1AOpoh3DWj2eiMcQC/ayhziQnAV9K6N7hX2QcASNgjXfUb4CigRQjphBD5D Wrkrqa0zMJ1YTbSnTWgRO/NDTdOR1W/WUxP/4UrMiH1UGjttSUVSdmjIznh55Xek5RI3 p3uzmWQxm6Lg4tHpxgHZxtZ9ubCqVfEJ4+7bRT4w/jm0ctAvJGCO8rdiwLhefY6JmYyk /dPLko8WdsVJ1EfdV5iy47Bf+ASQ0JyKi59odaEPSzNM3NXN3OSy+MdP+6uLG0zurDgk Qc0TAIWbO2NOocB7WA81C6I0dxyo8WM+47im0brrt5IiYp9/CY3eTKbuh4mixl4TG5eH fIyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=yNh+XmhVPTerk5uwE/utGWXHWHOIi1rlcpsDVDrPWHY=; fh=QhKuGwDKVVJ1uHYPGN+QFXhh/mXjLZFMf5w0KfHAyW4=; b=ck2OIKSRc6+gzISZWW8WpWOpxSc+/XpAWXAdCnB1oIXEZMC2cspE2kKSt1eE8WyakA efUqRMksKFKzLmjmOs7GffyslzO4n7GKNaDH+Naydycx+ngtpyVAeriBS2ygL0jkwteD 6kLhdKQe69XJdMqwxb+bu++aYuf0PzAt1vBCZJ+qRVcZV+0lvV+XtaoimD7qnA0iY+9b VodJ7rxh/+v31SQGPM4gOYda9AGy7otDFTHh8IszJZGwhlvxC6bzRKJu3bmnPALE32Eu hGslAT0yWJ6hCAdQ7TI+jumSzaCHmH/T7wbz4+1w/hSTKKkyDB6afA0g2MN7FAv2EcX8 1AUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zcy4aMXK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id g2-20020a056a001a0200b00690dbd360basi2156096pfv.152.2023.10.10.06.37.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 06:37:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zcy4aMXK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (Postfix) with ESMTP id D9C918028681; Tue, 10 Oct 2023 06:37:24 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232296AbjJJNhM (ORCPT + 99 others); Tue, 10 Oct 2023 09:37:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232258AbjJJNhL (ORCPT ); Tue, 10 Oct 2023 09:37:11 -0400 Received: from mail-yw1-x112b.google.com (mail-yw1-x112b.google.com [IPv6:2607:f8b0:4864:20::112b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA47CC4 for ; Tue, 10 Oct 2023 06:37:09 -0700 (PDT) Received: by mail-yw1-x112b.google.com with SMTP id 00721157ae682-59f4db9e11eso67161937b3.0 for ; Tue, 10 Oct 2023 06:37:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1696945029; x=1697549829; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=yNh+XmhVPTerk5uwE/utGWXHWHOIi1rlcpsDVDrPWHY=; b=zcy4aMXKDJqdHc8NcXKrkjoCY1Tz4Jkf2xI9SebwL6ZZK+kADaDdNJJMuNZhhkpZiU lKy60RZzKs8vUMrxTKU0ufL3G9jvs6YA35V5X/n+60adzkn7Oh0yg1lFIrqyerPCMnxE Fvj201TiaQP917+2cfJ1BurgonHjDBERmbnLBfdDFjBAoheq05liG7u+64Zw3KG7XtcV pMOn2OYuuo6rGP4NdRHOnF2rYxqa8Yxr0bCxu+ZuuuBjNReDhzmvcJYefjQnu8ZYpiGr 5mRUgj1yVQR0UoZvzq/P/MGoZ3deOA86iLyLgj30MYfOXUs87UV6CJFWWQa5pj9oZZzs k0FQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696945029; x=1697549829; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=yNh+XmhVPTerk5uwE/utGWXHWHOIi1rlcpsDVDrPWHY=; b=HOrFRtM7Jaw/TKG3jzv0O+um5CTxA2po1IXZzPNt7CV9NCrOZPhSSqbsoUsne6Ii+3 N/Cm24KcDjPhcHBHId4i74vO7qBgRgFd6MNi9xGKCorpKcHGi5UdyktaWyvkp19CbY13 ++4JeyXX8yh4vkqbP6XUjib2YGXLTReEhLmi2Kr9MdYYoffMyPMZKK9nKxQlcB+hRbc9 0fusC3Hx/93mi3YARmMJtBy6HkT2eEOeoWIggTMqnJUkUP4joLxWJT0N8Jmlo2IdOrGU XWyjBxkIQgOpDFGyOn7dw5Ho36lWjFctJ5KswizZ3frKePREykepoDdjeLvZh2rJo/Ug C72w== X-Gm-Message-State: AOJu0Yzwl3wRmIsspKsBEOy5yN0tHr9k83totF8NolzdQXCzc6O1j+va 8hUlIjvzFw0n37IELhTlgZ8gJdPy3MExeksxhRQCFQ== X-Received: by 2002:a0d:d40f:0:b0:59b:fe46:82de with SMTP id w15-20020a0dd40f000000b0059bfe4682demr18601273ywd.18.1696945028868; Tue, 10 Oct 2023 06:37:08 -0700 (PDT) MIME-Version: 1.0 References: <20231009083856.222030-1-u.kleine-koenig@pengutronix.de> <20231009083856.222030-4-u.kleine-koenig@pengutronix.de> In-Reply-To: <20231009083856.222030-4-u.kleine-koenig@pengutronix.de> From: Linus Walleij Date: Tue, 10 Oct 2023 15:36:57 +0200 Message-ID: Subject: Re: [PATCH 03/20] pinctrl: ti: ti-iodelay: Drop if block with always false condition To: =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= Cc: Yangtao Li , Andy Shevchenko , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.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 (pete.vger.email [0.0.0.0]); Tue, 10 Oct 2023 06:37:25 -0700 (PDT) X-Spam-Level: ** On Mon, Oct 9, 2023 at 11:22=E2=80=AFAM Uwe Kleine-K=C3=B6nig wrote: > ti_iodelay_remove() is only called after ti_iodelay_probe() completed > successfully. In this case platform_set_drvdata() was called with a > non-NULL argument and so platform_get_drvdata() won't return NULL. > > Simplify by removing the if block with the always false condition. > > Signed-off-by: Uwe Kleine-K=C3=B6nig Patch applied. Yours, Linus Walleij