projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fa8d21
)
ath9k: debug: remove set but not used variable 'fops_dump_nfcal'
author
YueHaibing
<yuehaibing@huawei.com>
Mon, 10 Sep 2018 03:11:28 +0000
(11:11 +0800)
committer
Kalle Valo
<kvalo@codeaurora.org>
Mon, 1 Oct 2018 14:06:30 +0000
(17:06 +0300)
'fops_dump_nfcal' is not used since commit
4447d815fd0f
("ath: ath9k: use debugfs_create_devm_seqfile() helper for seq_file entries")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath9k/debug.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/wireless/ath/ath9k/debug.c
b/drivers/net/wireless/ath/ath9k/debug.c
index 0a6eb8a8c1ed01ada9d6b10fb861f449f27a637e..c871b7ec5011f1b1e4504739afce9cc445c96266 100644
(file)
--- a/
drivers/net/wireless/ath/ath9k/debug.c
+++ b/
drivers/net/wireless/ath/ath9k/debug.c
@@
-990,19
+990,6
@@
static int read_file_dump_nfcal(struct seq_file *file, void *data)
return 0;
}
-static int open_file_dump_nfcal(struct inode *inode, struct file *f)
-{
- return single_open(f, read_file_dump_nfcal, inode->i_private);
-}
-
-static const struct file_operations fops_dump_nfcal = {
- .read = seq_read,
- .open = open_file_dump_nfcal,
- .owner = THIS_MODULE,
- .llseek = seq_lseek,
- .release = single_release,
-};
-
#ifdef CONFIG_ATH9K_BTCOEX_SUPPORT
static ssize_t read_file_btcoex(struct file *file, char __user *user_buf,
size_t count, loff_t *ppos)