We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d7f514 commit 4255a07Copy full SHA for 4255a07
drivers/net/wireless/ath/wil6210/debugfs.c
@@ -1391,19 +1391,6 @@ static int temp_show(struct seq_file *s, void *data)
1391
}
1392
DEFINE_SHOW_ATTRIBUTE(temp);
1393
1394
-/*---------freq------------*/
1395
-static int freq_show(struct seq_file *s, void *data)
1396
-{
1397
- struct wil6210_priv *wil = s->private;
1398
- struct wireless_dev *wdev = wil->main_ndev->ieee80211_ptr;
1399
- u32 freq = wdev->chandef.chan ? wdev->chandef.chan->center_freq : 0;
1400
-
1401
- seq_printf(s, "Freq = %d\n", freq);
1402
1403
- return 0;
1404
-}
1405
-DEFINE_SHOW_ATTRIBUTE(freq);
1406
1407
/*---------link------------*/
1408
static int link_show(struct seq_file *s, void *data)
1409
{
@@ -2380,7 +2367,6 @@ static const struct {
2380
2367
{"pmcdata", 0444, &fops_pmcdata},
2381
2368
{"pmcring", 0444, &fops_pmcring},
2382
2369
{"temp", 0444, &temp_fops},
2383
- {"freq", 0444, &freq_fops},
2384
2370
{"link", 0444, &link_fops},
2385
2371
{"info", 0444, &info_fops},
2386
2372
{"recovery", 0644, &fops_recovery},
0 commit comments