# Re: \[PATCH\] ath6kl: remove redundant null pointer check on send\_pkt

- From: Kalle Valo \<hidden\>
- Date: 2015-10-09 08:47:24 
- List: netdev
- Page: https://ratatoskr.run/netdev/2015/10/4593937
- Thread: https://ratatoskr.run/linux-wireless/2015/10/4593937/t.md

```text
Colin King [ref] writes:

> From: Colin Ian King <redacted>
>
> The check for send_pkt being NULL is redundant before the call
> to htc_reclaim_txctrl_buf, therefore it should be removed. This was
> detected by static analysis by cppcheck.
>
> Signed-off-by: Colin Ian King <redacted>

Applied, thanks.

-- 
Kalle Valo
```
