summaryrefslogtreecommitdiffstats
path: root/include/net/udp.h
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2008-03-29 02:25:32 +0100
committerDavid S. Miller <davem@davemloft.net>2008-03-29 02:25:32 +0100
commit3ba9441bdf07370670a684e6d95dfc523476677f (patch)
treeec31a5f5c5e1fc0d807575c733a04d2adbf44c09 /include/net/udp.h
parent[UDP]: Cleanup /proc/udp[6] creation/removal. (diff)
downloadlinux-3ba9441bdf07370670a684e6d95dfc523476677f.tar.xz
linux-3ba9441bdf07370670a684e6d95dfc523476677f.zip
[UDP]: Place file operations directly into udp_seq_afinfo.
No need to have separate never-used variable. Signed-off-by: Denis V. Lunev <den@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/udp.h')
-rw-r--r--include/net/udp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/udp.h b/include/net/udp.h
index 0079d17fd3a3..5cf0e593dda7 100644
--- a/include/net/udp.h
+++ b/include/net/udp.h
@@ -189,7 +189,7 @@ struct udp_seq_afinfo {
char *name;
sa_family_t family;
struct hlist_head *hashtable;
- struct file_operations *seq_fops;
+ struct file_operations seq_fops;
struct seq_operations seq_ops;
};