Netdev Archive on
help / color / mirror / Atom feed
From: Kalle Valo <>
To: YueHaibing <>
Cc: <>, <>,,,,
Subject: Re: [PATCH] ath11k: Mark two variables as __maybe_unused
Date: Mon, 21 Sep 2020 16:31:40 +0300	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <> ('s message of "Tue, 1 Sep 2020 11:56:03 +0800")

YueHaibing <> writes:

> Fix -Wunused-variable warnings:
> drivers/net/wireless/ath/ath11k/debug.c:36:20: warning: ‘htt_bp_lmac_ring’ defined but not used [-Wunused-variable]
> drivers/net/wireless/ath/ath11k/debug.c:15:20: warning: ‘htt_bp_umac_ring’ defined but not used [-Wunused-variable]
> Signed-off-by: YueHaibing <>

I don't like __maybe_unused so I decided to fix this with some refactoring:

[1/4] ath11k: refactor debugfs code into debugfs.c


      reply	other threads:[~2020-09-21 13:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-01  3:56 YueHaibing
2020-09-21 13:31 ` 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] ath11k: Mark two variables as __maybe_unused' \

* 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).