Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1455733

Re: [PATCH 1/1 v2] rtlwifi: remove superfluous condition

From Kalle Valo <kvalo@codeaurora.org>
Newsgroups linux.kernel
Subject Re: [PATCH 1/1 v2] rtlwifi: remove superfluous condition
Date 2016-08-03 12:30 +0200
Message-ID <s21B0-1hs-9@gated-at.bofh.it> (permalink)
References <s0ZKV-1cv-7@gated-at.bofh.it> <s1Ny1-s4-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Heinrich Schuchardt <xypron.glpk@gmx.de> writes:

> If sta == NULL, the changed line will not be reached.
> So no need to check that sta != NULL here.
>
> v2:
> 	fix typo
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
> Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
> ---
>  drivers/net/wireless/realtek/rtlwifi/core.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

The change log goes under the "---" line so that git can automatically
strip it away while committing the patch. I can fix it this time but
please keep this in mind in the future.

-- 
Kalle Valo

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 1/1] rtlwifi: remove superfluous condition Heinrich Schuchardt <xypron.glpk@gmx.de> - 2016-07-31 12:40 +0200
  Re: [PATCH 1/1] rtlwifi: remove superfluous condition Larry Finger <Larry.Finger@lwfinger.net> - 2016-07-31 16:20 +0200
    [PATCH 1/1 v2] rtlwifi: remove superfluous condition Heinrich Schuchardt <xypron.glpk@gmx.de> - 2016-08-02 21:30 +0200
      Re: [PATCH 1/1 v2] rtlwifi: remove superfluous condition Kalle Valo <kvalo@codeaurora.org> - 2016-08-03 12:30 +0200

csiph-web