From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8AAD81FC4 for ; Thu, 30 Mar 2023 12:49:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E3631C433EF; Thu, 30 Mar 2023 12:49:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1680180597; bh=biHHuyssIqvarzZV0sp6gOq/JxOLMHTyQileLrPuA10=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=deCbC4nG9F2WI9TIHtqk2YxUx8VlHj3xsmhxGjwmsoLDUa0GvD6fyxoEl7wnHMx7r +Lm6eTEXarxF/TpSyb6ZIBJdAZ/ccd7POPPSNt9NfrJkOjLAl+aRRbv8fPsgnqfO8L Va16MGY4o89sxDTIz93NIIVe0O6EX52uAa5NoRLs= Date: Thu, 30 Mar 2023 14:49:54 +0200 From: Greg KH To: Joel Camilo Chang Gonzalez Cc: driverdev-devel@linuxdriverproject.org, linux-staging@lists.linux.dev Subject: Re: [PATCH] staging: ks7010: remove unnecesary parentheses Message-ID: References: Precedence: bulk X-Mailing-List: linux-staging@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Thu, Mar 30, 2023 at 08:44:35PM +0800, Joel Camilo Chang Gonzalez wrote: > Remove parentheses not needed in if statement > > Signed-off-by: Joel Camilo Chang Gonzalez > --- > drivers/staging/ks7010/ks_hostif.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c > index af3825578d85..8bded7e88ce7 100644 > --- a/drivers/staging/ks7010/ks_hostif.c > +++ b/drivers/staging/ks7010/ks_hostif.c > @@ -129,7 +129,7 @@ int get_current_ap(struct ks_wlan_private *priv, struct link_ap_info *ap_info) > size = (ap_info->rsn.size <= RSN_IE_BODY_MAX) ? > ap_info->rsn.size : RSN_IE_BODY_MAX; > if ((ap_info->rsn_mode & RSN_MODE_WPA2) && > - (priv->wpa.version == IW_AUTH_WPA_VERSION_WPA2)) { > + priv->wpa.version == IW_AUTH_WPA_VERSION_WPA2) { If you look in the archives, you will see that I reject this type of patch all the time. Also, please use scripts/get_maintainer.pl to determine who to send this to, you used a very old mailing list address that is long dead. thanks, greg k-h