diff options
| author | Denis V. Lunev <[email protected]> | 2008-03-22 23:35:00 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2008-03-22 23:35:00 +0000 |
| commit | 10fe7d85e2e4042f703a10bed4123f2105eadad2 (patch) | |
| tree | 7698a8024571f2dd61559bad298ac397445ea693 /net/ipv4/tcp_ipv4.c | |
| parent | [TCP]: TCP_DEFER_ACCEPT updates - process as established (diff) | |
| download | kernel-10fe7d85e2e4042f703a10bed4123f2105eadad2.tar.gz kernel-10fe7d85e2e4042f703a10bed4123f2105eadad2.zip | |
[IPV4]: Remove unnecessary check for opt->is_data in ip_options_compile.
There is the only way to reach ip_options compile with opt != NULL:
ip_options_get_finish
opt->is_data = 1;
ip_options_compile(opt, NULL)
So, checking for is_data inside opt != NULL branch is not needed.
Signed-off-by: Denis V. Lunev <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
0 files changed, 0 insertions, 0 deletions
