aboutsummaryrefslogtreecommitdiff
path: root/include/net/udp.h
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2008-03-28 18:25:32 -0700
committerDavid S. Miller <davem@davemloft.net>2008-03-28 18:25:32 -0700
commit3ba9441bdf07370670a684e6d95dfc523476677f (patch)
treeec31a5f5c5e1fc0d807575c733a04d2adbf44c09 /include/net/udp.h
parenta2be75c182cd16bc104919e33451ffda8b6f65b4 (diff)
[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 0079d17fd3a..5cf0e593dda 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;
};