projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
inet_diag: Remove indirect sizeof from inet diag handlers
[firefly-linux-kernel-4.4.55.git]
/
net
/
ipv4
/
tcp_diag.c
diff --git
a/net/ipv4/tcp_diag.c
b/net/ipv4/tcp_diag.c
index 981497795d49746bd1b40a1c5a3cc8023dc4fbb8..42e6bec7bd3ee19b4147906386d386241df25bfa 100644
(file)
--- a/
net/ipv4/tcp_diag.c
+++ b/
net/ipv4/tcp_diag.c
@@
-38,7
+38,6
@@
static const struct inet_diag_handler tcp_diag_handler = {
.idiag_hashinfo = &tcp_hashinfo,
.idiag_get_info = tcp_diag_get_info,
.idiag_type = IPPROTO_TCP,
- .idiag_info_size = sizeof(struct tcp_info),
};
static int __init tcp_diag_init(void)