RDMA/cxgb3: Use sizeof() notation instead of plain sizeof
authorLeon Romanovsky <leonro@mellanox.com>
Mon, 20 May 2019 06:54:28 +0000 (09:54 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 27 May 2019 17:15:26 +0000 (14:15 -0300)
commitd34d37d5a102a016c63f904d1ff0284637759cc2
treeba72e291c92e40dbb11727ceeb5d156e3b176058
parent62a38e704d5720e2b73d0e1d6dfc54441ee75985
RDMA/cxgb3: Use sizeof() notation instead of plain sizeof

sizeof(a), sizeof a and sizeof (a) are all valid notations, but first is
more readable format recommended by checkpatch.pl.

Let's canonize it in cxgb3 drivers, so latter patches won't emit
checkpatch warnings. As part of this change, a redundant memset() was
removed.

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/cxgb3/cxio_hal.c
drivers/infiniband/hw/cxgb3/iwch_cm.c
drivers/infiniband/hw/cxgb3/iwch_provider.c