From: Gerrit Renker Date: Wed, 28 Nov 2007 14:06:04 +0000 (-0200) Subject: [DCCP]: Remove duplicate test for CloseReq X-Git-Tag: v2.6.25-rc1~1162^2~1322 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3159afe0d2c1994392c269cf9dee2797830d016b;p=pandora-kernel.git [DCCP]: Remove duplicate test for CloseReq This removes a redundant test for unexpected packet types. In dccp_rcv_state_process it is tested twice whether a DCCP-server has received a CloseReq (Step 7): * first in the combined if-statement, * then in the call to dccp_rcv_closereq(). The latter is necesssary since dccp_rcv_closereq() is also called from __dccp_rcv_established(). This patch removes the duplicate test. Signed-off-by: Gerrit Renker Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller --- Reading git-diff-tree failed