From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 866ECC4338F for ; Sun, 22 Aug 2021 12:38:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5A74161357 for ; Sun, 22 Aug 2021 12:38:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231510AbhHVMg6 (ORCPT ); Sun, 22 Aug 2021 08:36:58 -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