]> bbs.cooldavid.org Git - net-next-2.6.git/commit
RDS: cleanup: remove "== NULL"s and "!= NULL"s in ptr comparisons
authorAndy Grover <andy.grover@oracle.com>
Tue, 12 Jan 2010 19:56:44 +0000 (11:56 -0800)
committerAndy Grover <andy.grover@oracle.com>
Thu, 9 Sep 2010 01:11:32 +0000 (18:11 -0700)
commit8690bfa17aea4c42da1bcf90a7af93d161eca624
tree88c4c5fa63aab0c18cf13228c4b3a6f980aa74be
parent2dc393573430f853e56e25bf4b41c34ba2aa8fd6
RDS: cleanup: remove "== NULL"s and "!= NULL"s in ptr comparisons

Favor "if (foo)" style over "if (foo != NULL)".

Signed-off-by: Andy Grover <andy.grover@oracle.com>
26 files changed:
net/rds/af_rds.c
net/rds/bind.c
net/rds/cong.c
net/rds/connection.c
net/rds/ib_cm.c
net/rds/ib_recv.c
net/rds/ib_send.c
net/rds/ib_sysctl.c
net/rds/info.c
net/rds/iw_cm.c
net/rds/iw_recv.c
net/rds/iw_send.c
net/rds/iw_sysctl.c
net/rds/loop.c
net/rds/message.c
net/rds/page.c
net/rds/rdma.c
net/rds/recv.c
net/rds/send.c
net/rds/sysctl.c
net/rds/tcp.c
net/rds/tcp_connect.c
net/rds/tcp_listen.c
net/rds/tcp_recv.c
net/rds/tcp_send.c
net/rds/threads.c