]> git.baikalelectronics.ru Git - kernel.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)
commit165f90a0bee6dd89c53f777986a146bdbc625975
tree88c4c5fa63aab0c18cf13228c4b3a6f980aa74be
parent3d01c07d6976527fe41dc916b8f939f4d0e7724c
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