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

From: Kalle Valo
Date: Wed Aug 03 2016 - 06:26:09 EST


Heinrich Schuchardt <xypron.glpk@xxxxxx> 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@xxxxxx>
> Acked-by: Larry Finger <Larry.Finger@xxxxxxxxxxxx>
> ---
> 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