diff options
author | Pavel Emelyanov <xemul@parallels.com> | 2011-12-09 06:21:16 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-12-09 14:14:07 -0500 |
commit | 7b35eadd7eee2e0b42421ce3efbc30f1c3c745e5 (patch) | |
tree | 068ff7b5ba08d957978a63fedad6c2d86af48ed2 /include/linux/inet_diag.h | |
parent | a73ed26bbae7327370c5bd298f07de78df9e3466 (diff) | |
download | linux-7b35eadd7eee2e0b42421ce3efbc30f1c3c745e5.tar.gz |
inet_diag: Remove indirect sizeof from inet diag handlers
There's an info_size value stored on inet_diag_handler, but for existing
code this value is effectively constant, so just use sizeof(struct tcp_info)
where required.
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/inet_diag.h')
-rw-r--r-- | include/linux/inet_diag.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/inet_diag.h b/include/linux/inet_diag.h index defe8ff36df8..851feff0747f 100644 --- a/include/linux/inet_diag.h +++ b/include/linux/inet_diag.h @@ -141,7 +141,6 @@ struct inet_diag_handler { void (*idiag_get_info)(struct sock *sk, struct inet_diag_msg *r, void *info); - __u16 idiag_info_size; __u16 idiag_type; }; |