#include #include #include #include #include #include static int version_proc_show(struct seq_file *m, void *v) { seq_printf(m, linux_proc_banner, utsname()->sysname, utsname()->release, utsname()->version); return 0; } static int version_proc_open(struct inode *inode, struct file *file) { return single_open(file, version_proc_show, NULL); } static const struct file_operations version_proc_fops = { .open = version_proc_open, .read = seq_read, .llseek = seq_lseek, .release = single_release, }; static int __init proc_version_init(void) { proc_create("version", 0, NULL, &version_proc_fops); return 0; } fs_initcall(proc_version_init); ref='/cgit.cgi/linux/net-next.git/'>net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Stromdahl <erik.stromdahl@gmail.com>2017-01-11 16:32:09 +0200
committerKalle Valo <kvalo@qca.qualcomm.com>2017-01-12 12:51:25 +0200
commit7bc7441e4da3868042d01eed8a1f61625d35a356 (patch)
treeac2119b0fa293620ee22c91d169b0f3cfda9d421
parentd53628882255481b710641dd0118fbd80af6e983 (diff)
ath10k: htc: removal of unused struct members
Removed tx_credits_per_max_message and tx_credit_size from struct ath10k_htc_ep since they are not used anywhere in the code. They are just written, never read. Signed-off-by: Erik Stromdahl <erik.stromdahl@gmail.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>