summaryrefslogtreecommitdiffstats
path: root/include/net/inet_sock.h
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2008-03-23 00:35:29 +0100
committerDavid S. Miller <davem@davemloft.net>2008-03-23 00:35:29 +0100
commitef722495c8867aacc1db0675a6737e5cf1e72e07 (patch)
treeb0bdff4d9743ff790c57c9dafd232854f57df624 /include/net/inet_sock.h
parent[IPV4]: Remove unnecessary check for opt->is_data in ip_options_compile. (diff)
downloadlinux-ef722495c8867aacc1db0675a6737e5cf1e72e07.tar.xz
linux-ef722495c8867aacc1db0675a6737e5cf1e72e07.zip
[IPV4]: Remove unused ip_options->is_data.
ip_options->is_data is assigned only and never checked. The structure is not a part of kernel interface to the userspace. So, it is safe to remove this field. Signed-off-by: Denis V. Lunev <den@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/inet_sock.h')
-rw-r--r--include/net/inet_sock.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/net/inet_sock.h b/include/net/inet_sock.h
index 8660cb0fa0dd..b6db16d2766a 100644
--- a/include/net/inet_sock.h
+++ b/include/net/inet_sock.h
@@ -43,8 +43,7 @@ struct ip_options {
unsigned char srr;
unsigned char rr;
unsigned char ts;
- unsigned char is_data:1,
- is_strictroute:1,
+ unsigned char is_strictroute:1,
srr_is_hit:1,
is_changed:1,
rr_needaddr:1,