Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1087591pxb; Sun, 22 Aug 2021 05:39:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzczieii0zWL606SVygg79PrBB/esrHaSrXyLOppHVuRrK2RsuP8rJa++hC3m0yUvWRZHJd X-Received: by 2002:a92:c241:: with SMTP id k1mr19818605ilo.270.1629635942525; Sun, 22 Aug 2021 05:39:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629635942; cv=none; d=google.com; s=arc-20160816; b=dZq2deGK7y7S4v01MZ3bRIJvesAd1QhHu1HmzMLz5KuG+qVavycB8RsKD5BHChCGVj aGiONyOgsrorfgcnu8OfFBZ3sY23Eaob7Ogr3qpuLl+7pfIObFmTs4Po7AMJZq4+J01P V6IvItGRkmWPkjFEL647P6M3DILy2mEZxq/WBkt2fkV1PV8mjiTvmYPFhsb+ZeHmk2lT z1bb0ZEThdqLYiY9Y4kzdftlCCgew6+2FM9WVLaxxqVpNlw9rPX52l+yEmiyMOwMd+mM 2dujoQD5KO+Xi5a3LyUUWBDS2T6LVUsOJ84I16H4ICMMOu+ZwnfEvr2W7xzVS26b71VT +LzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=8lt7bS2Z+E7JQrXZ/LGZSo9GbX4teGL7SWQc1xiLxeg=; b=WxZyo71B64h6X3FDzcIBVsbYUExBm9hggO8KEp4x8WpQTRS8ygWCIAv5MZ2HAb0Y32 kDFTRB+sqE8c+xHYIxp66OOweRkRz4dTjVoJd9r/OfyxpNwPsPKImpGqt6ZBhXmGsqfz Crw5s2642aBx3oLXo/ZMc5RV+R6NvNZUsk86N+hODxeuAG6apW/SnWtzNT4urI1ev+Lt fUbrxOsnoxZfEsv4+3Am1ewnXnLcDF1HQ/N4pQlXhsNJtNk44r1gL1cfrZ4GxTkJfRXI MoSVUAsTdu/dhVAkVkTuIIr77G9OEHBLeVSbavrePpUKQYQd70s1Y7al/uPtx2sOTH4A L9Zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=cGp8e1w2; 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=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h14si13920335jav.71.2021.08.22.05.38.48; Sun, 22 Aug 2021 05:39:02 -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=@linuxfoundation.org header.s=korg header.b=cGp8e1w2; 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=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231356AbhHVMg5 (ORCPT + 99 others); Sun, 22 Aug 2021 08:36:57 -0400 Received: from mail.kernel.org ([198.145.29.99]:33874 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230495AbhHVMg5 (ORCPT ); Sun, 22 Aug 2021 08:36:57 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9228C61207; Sun, 22 Aug 2021 12:36:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1629635775; bh=UwmFqYaF4dGehC4JVLviprvq+rgfH8eWTr7mCR0PFYg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cGp8e1w2IiuUTBA7hxsNv47w9RvGcB1GB6zBcAHFvv0yXJYQgBPbGYOf2U5IiMGJz I8Yq+FHldp95SDI9gwKozUzqFLzBzP3l9juU/ZCQfBnowy2MQcK/ArDugLo+XbaS+1 INYbJSttFyo5h08RJaEXxbvnB+tz1KMZvFAHzk+w= Date: Sun, 22 Aug 2021 14:36:11 +0200 From: Greg KH To: "Fabio M. De Francesco" Cc: Saurav Girepunje , Phillip Potter , Larry Finger , linux-staging@lists.linux.dev, Linux Kernel Mailing List , saurav.girepunje@hotmail.com Subject: Re: [PATCH] staging: r8188eu: core: remove condition with no effect Message-ID: References: <1821445.fzUCeO1EU3@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1821445.fzUCeO1EU3@localhost.localdomain> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Aug 22, 2021 at 01:06:09PM +0200, Fabio M. De Francesco wrote: > 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. :-) That is not necessary or needed here, I can do that when I apply the patch. greg k-h