Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1035907pxb; Sun, 22 Aug 2021 04:08:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxkO6PWqInyTZLyKFYZbOMwB56OsE2/5dkLEZjX9CDM+o87Jxq741W7nWjXWE+RhhSHWbZ1 X-Received: by 2002:a92:cf07:: with SMTP id c7mr19326852ilo.291.1629630490702; Sun, 22 Aug 2021 04:08:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629630490; cv=none; d=google.com; s=arc-20160816; b=oIUi7eH2XpB9v0/HI7RvEbgQxT/hS5DtsHk49gR7uU84r9HbljQ/LPsAnvl+RRh30Z j6HRM59XsvZPkdk8nZzw5TPJiniLb61TEM/KS2+AmC42SFHrpA5Pu0ly4SmnKJS3ZKec ea7gV3sBMoB6bMbexzB4QVF1Z2pgVQOp3xZN3G1yWeINnvhG8oZMbwVEyhvqvrtZFMyE YU/IxKPNUc4uLZWD3g/h4fwhFmTjkY19nXe07ba1qZNkAVUjFtcXRkl3kIrh0eApoxFL kaYf7DyLLYPXcrzmF709R+JK22c56Jrvd+b8WVwtj+aSt/pBsvQRmlXTueV4m9thOG44 up1g== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=J/K1zJt9K2vM4YNNzqxi4TbMv+urfoGymzw1sNlJiRY=; b=yqN3G4xmYZwasEe9SF43MrFvoS8Cgmaew7lmc5lvVZEbbNLr5TbMdLfWBvvvNT9/d7 EkbGLefdamcRWa6ZCrtzeVfhUyG6KiXWWBh8o1Mdua7A5ymyCLVSZuTFg22PqDd0l93B qp9+CgLd3fyZSwznH4APD6s/VdEdMo9oS61VhSmzjMuKGvdSrzWofofH1dT3d6XFUyN8 Hfp60EJ7nSSO60IFGoeFy7igKlf1EyFW6JYzA+NJ7WcdpJ+Mc1Ar9lJ8L5gPV1fXtISE oUEYiqEkj7Z0Iu6ZyEx5ItEh5pji/bYP9q0mq0Zaha57XoHkATm6XQzqayI34JbrNzba GWrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=AX55T5qy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c19si12252290ilj.48.2021.08.22.04.07.58; Sun, 22 Aug 2021 04:08:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=AX55T5qy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233082AbhHVLGy (ORCPT + 99 others); Sun, 22 Aug 2021 07:06:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58396 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232822AbhHVLGy (ORCPT ); Sun, 22 Aug 2021 07:06:54 -0400 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4121FC061575 for ; Sun, 22 Aug 2021 04:06:13 -0700 (PDT) Received: by mail-ej1-x62c.google.com with SMTP id bt14so30445056ejb.3 for ; Sun, 22 Aug 2021 04:06:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=J/K1zJt9K2vM4YNNzqxi4TbMv+urfoGymzw1sNlJiRY=; b=AX55T5qy7NO40os7OlBFpccap583qZZmZt4H4RNz41wp2sjxm0BQdKU8VJ1dyE21aM 4l27B2JJsOt0eL+0Cie02TTqnEs1b0WGNPKLIgNM2j8FHDtLUV6m4729HjDbmcuNh2tT p/l+dqSYDPEUfRbC1Fp9QsQSwQ5mzWSXuvAD72/LzVDRrjBSoUQc7EXH3vUUfztNQYQk jx24P8gwXO5bT33pMIbCOD4TT8IlrZCxQbpXB9JTcKTS30zlRDOpuRzSbgbRmg0flqZk NbyHmVHONiTeNk1Hs4GMm9B0GXswMRdxoB7C5CIv6SqkFPzcdsAB1q3C9BuQLvaqSRTd MM3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=J/K1zJt9K2vM4YNNzqxi4TbMv+urfoGymzw1sNlJiRY=; b=IeL0rnhfCkA6V9j4yNoE+/NLpkBfTcVyf0g1yMETkWeanANcp2AAwYUbSF2qy/487+ vWVKDgbJa/xy8D5BGVHO7LI9+ORSZ2xp3ZiC1mMKeVmd3QskydseQjLzd/uxlPL8LdP6 3LWZcp/yJVwFvUJYaxToye+iPAKkrcXilr7u+v7U1cqQoJgwsgSVIJ/z30IK8rcqYC5g aZOKESCNmkeaJdhLxldJNMcb8pBM1UXqVk1qNyYV+Iwvs7oJJ3bsxOgVvYdHinOCxSjI EMRD1oBkWeBXj2vjfQlIjXqKHR8nnt9Apoe8IZekvKBXozOHA/xKeURs9IwYJ65AqpZM dt/g== X-Gm-Message-State: AOAM533qb6JR9iWG+0o7La9kBI20ED8Kdw/vGvynVcvRxbA/CYjKGGtP PxfYujFor903wuN5lezJ4Ic= X-Received: by 2002:a17:906:eb53:: with SMTP id mc19mr30478652ejb.22.1629630371782; Sun, 22 Aug 2021 04:06:11 -0700 (PDT) Received: from localhost.localdomain (host-79-22-100-164.retail.telecomitalia.it. [79.22.100.164]) by smtp.gmail.com with ESMTPSA id g10sm5580146ejj.44.2021.08.22.04.06.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Aug 2021 04:06:11 -0700 (PDT) From: "Fabio M. De Francesco" To: Saurav Girepunje , Phillip Potter Cc: Larry Finger , Greg KH , linux-staging@lists.linux.dev, Linux Kernel Mailing List , saurav.girepunje@hotmail.com Subject: Re: [PATCH] staging: r8188eu: core: remove condition with no effect Date: Sun, 22 Aug 2021 13:06:09 +0200 Message-ID: <1821445.fzUCeO1EU3@localhost.localdomain> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sunday, August 22, 2021 1:58:10 AM CEST Phillip Potter wrote: > On Sat, 21 Aug 2021 at 21:23, Saurav Girepunje > > wrote: > > Remove the condition with no effect (if == else) in rtw_led.c > > file. > > > > Signed-off-by: Saurav Girepunje > > --- > > > > drivers/staging/r8188eu/core/rtw_led.c | 5 +---- > > 1 file changed, 1 insertion(+), 4 deletions(-) > > Thanks for this, looks good. > > Acked-by: Phillip Potter > > Regards, > Phil Dear Philip, Before acking, please check at least if it applies to the current version of the tree and check if it compiles without adding warnings and / or errors. :-) Thanks, Fabio