net80211: mark argument to scan_curchan_task() __unused

Mostly as documentation mark an unused argument to scan_curchan_task()
as __unused.  We may possibly want to check all callers in the future
and see if the argument was supposed to be useful or should be entirely
removed.

Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
This commit is contained in:
Bjoern A. Zeeb 2023-09-14 17:34:01 +00:00
parent ee7077f24f
commit 778da03b12

View file

@ -674,7 +674,7 @@ scan_start(void *arg, int pending)
}
static void
scan_curchan_task(void *arg, int pending)
scan_curchan_task(void *arg, int pending __unused)
{
struct ieee80211_scan_state *ss = arg;
struct scan_state *ss_priv = SCAN_PRIVATE(ss);