LKML Archive on
help / color / mirror / Atom feed
From: Kalle Valo <>
To: Tuo Li <>
	Tuo Li <>, TOTE Robot <>
Subject: Re: [PATCH] mwifiex: drop redundant null-pointer check in mwifiex_dnld_cmd_to_fw()
Date: Sat, 21 Aug 2021 17:49:34 +0000 (UTC)	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

Tuo Li <> wrote:

> There is no case in which the variable cmd_node->cmd_skb has no ->data,
> and thus the variable host_cmd is guaranteed to be not NULL. Therefore,
> the null-pointer check is redundant and can be dropped.
> Reported-by: TOTE Robot <>
> Signed-off-by: Tuo Li <>
> Tested-by: Brian Norris <>
> Reviewed-by: Brian Norris <>

Patch applied to wireless-drivers-next.git, thanks.

118934041c5f mwifiex: drop redundant null-pointer check in mwifiex_dnld_cmd_to_fw()


      parent reply	other threads:[~2021-08-21 17:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-04  2:03 Tuo Li
2021-08-04 22:45 ` Brian Norris
2021-08-21 17:49 ` Kalle Valo [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
    --subject='Re: [PATCH] mwifiex: drop redundant null-pointer check in mwifiex_dnld_cmd_to_fw()' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).