diff options
author | Joshua Houghton <josh@awful.name> | 2016-06-18 15:46:31 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-06-18 21:34:09 -0700 |
commit | 5c3da57d70f1ef1d9b60900b84a74d77a9cf0774 (patch) | |
tree | 21dc769db725780191eca09406969756d5ab84e9 /net/rds/tcp_connect.c | |
parent | 4a7d99ea1b27734558feb6833f180cd38a159940 (diff) | |
download | linux-5c3da57d70f1ef1d9b60900b84a74d77a9cf0774.tar.gz linux-5c3da57d70f1ef1d9b60900b84a74d77a9cf0774.tar.bz2 linux-5c3da57d70f1ef1d9b60900b84a74d77a9cf0774.zip |
net: rds: fix coding style issues
Fix coding style issues in the following files:
ib_cm.c: add space
loop.c: convert spaces to tabs
sysctl.c: add space
tcp.h: convert spaces to tabs
tcp_connect.c:remove extra indentation in switch statement
tcp_recv.c: convert spaces to tabs
tcp_send.c: convert spaces to tabs
transport.c: move brace up one line on for statement
Signed-off-by: Joshua Houghton <josh@awful.name>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rds/tcp_connect.c')
-rw-r--r-- | net/rds/tcp_connect.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/net/rds/tcp_connect.c b/net/rds/tcp_connect.c index fba13d0305fb..f6e95d60db54 100644 --- a/net/rds/tcp_connect.c +++ b/net/rds/tcp_connect.c @@ -54,19 +54,19 @@ void rds_tcp_state_change(struct sock *sk) rdsdebug("sock %p state_change to %d\n", tc->t_sock, sk->sk_state); - switch(sk->sk_state) { - /* ignore connecting sockets as they make progress */ - case TCP_SYN_SENT: - case TCP_SYN_RECV: - break; - case TCP_ESTABLISHED: - rds_connect_path_complete(conn, RDS_CONN_CONNECTING); - break; - case TCP_CLOSE_WAIT: - case TCP_CLOSE: - rds_conn_drop(conn); - default: - break; + switch (sk->sk_state) { + /* ignore connecting sockets as they make progress */ + case TCP_SYN_SENT: + case TCP_SYN_RECV: + break; + case TCP_ESTABLISHED: + rds_connect_path_complete(conn, RDS_CONN_CONNECTING); + break; + case TCP_CLOSE_WAIT: + case TCP_CLOSE: + rds_conn_drop(conn); + default: + break; } out: read_unlock_bh(&sk->sk_callback_lock); |