aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/include/class_to_string.h
diff options
context:
space:
mode:
authorGerrit Renker <[email protected]>2006-11-13 15:31:50 +0000
committerDavid S. Miller <[email protected]>2006-12-03 05:22:21 +0000
commit865e9022d88ceedd89fa1079a6e1f9266ccd3711 (patch)
treebc276752f832226f9a506f1fe65bff000bea557e /security/selinux/include/class_to_string.h
parent[DCCP]: Remove forward declarations in timer.c (diff)
downloadkernel-865e9022d88ceedd89fa1079a6e1f9266ccd3711.tar.gz
kernel-865e9022d88ceedd89fa1079a6e1f9266ccd3711.zip
[DCCP]: Remove redundant statements in init_sequence (ISS)
This patch removes the following redundancies: 1) The test skb->protocol == htons(ETH_P_IPV6) in dccp_v6_init_sequence is always true since * dccp_v6_conn_request() is the only calling function * dccp_v6_conn_request() redirects all skb's with ETH_P_IP to dccp_v4_conn_request() 2) The first argument, `struct sock *sk', of dccp_v{4,6}_init_sequence() is never used. (This is similar for tcp_v{4,6}_init_sequence, an analogous patch has been submitted to netdev and merged.) By the way - are the `sport' / `dport' arguments in the right order? I have made them consistent among calls but they seem to be in the reverse order. Signed-off-by: Gerrit Renker <[email protected]> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'security/selinux/include/class_to_string.h')
0 files changed, 0 insertions, 0 deletions