From: Denis V. Lunev Date: Sat, 22 Mar 2008 23:35:00 +0000 (-0700) Subject: [IPV4]: Remove unnecessary check for opt->is_data in ip_options_compile. X-Git-Tag: v2.6.26-rc1~1138^2~399 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10fe7d85e2e4042f703a10bed4123f2105eadad2;p=pandora-kernel.git [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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed