diff options
author | Denis V. Lunev <den@openvz.org> | 2008-03-22 19:35:29 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-22 19:35:29 -0400 |
commit | ef722495c8867aacc1db0675a6737e5cf1e72e07 (patch) | |
tree | b0bdff4d9743ff790c57c9dafd232854f57df624 /net/ipv4/cipso_ipv4.c | |
parent | 10fe7d85e2e4042f703a10bed4123f2105eadad2 (diff) |
[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 'net/ipv4/cipso_ipv4.c')
-rw-r--r-- | net/ipv4/cipso_ipv4.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/ipv4/cipso_ipv4.c b/net/ipv4/cipso_ipv4.c index 8cd357f41283..4637ded3dba8 100644 --- a/net/ipv4/cipso_ipv4.c +++ b/net/ipv4/cipso_ipv4.c | |||
@@ -1800,7 +1800,6 @@ int cipso_v4_sock_setattr(struct sock *sk, | |||
1800 | } | 1800 | } |
1801 | memcpy(opt->__data, buf, buf_len); | 1801 | memcpy(opt->__data, buf, buf_len); |
1802 | opt->optlen = opt_len; | 1802 | opt->optlen = opt_len; |
1803 | opt->is_data = 1; | ||
1804 | opt->cipso = sizeof(struct iphdr); | 1803 | opt->cipso = sizeof(struct iphdr); |
1805 | kfree(buf); | 1804 | kfree(buf); |
1806 | buf = NULL; | 1805 | buf = NULL; |