From: Gerrit Renker Date: Sun, 3 Jul 2011 15:53:12 +0000 (-0600) Subject: dccp ccid-2: Use existing function to test for data packets X-Git-Tag: v3.1-rc1~316^2~254 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58fdea0f3170c13a3b875ef904d5b67cf73814be;p=pandora-kernel.git dccp ccid-2: Use existing function to test for data packets This replaces a switch statement with a test, using the equivalent function dccp_data_packet(skb). It also doubles the range of the field `rx_num_data_pkts' by changing the type from `int' to `u32', avoiding signed/unsigned comparison with the u16 field `dccps_r_ack_ratio'. Signed-off-by: Gerrit Renker --- Reading git-diff-tree failed