diff options
author | Yaniv Kaul <ykaul@redhat.com> | 2018-11-23 12:14:59 +0200 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2018-12-03 05:53:34 +0000 |
commit | b56bf714c1f22212700db50c057e4e47b99be739 (patch) | |
tree | c647a596293fe31961d601487bdd943a1d1516cd /rpc/rpc-transport/rdma | |
parent | 99c72652f81ca5ea212adbb5a555e12a4de94491 (diff) |
rpc *.h fles: align structs
Make an effort to slightly better align the structures.
Change-Id: I6f80a451f2ffbf15adfb986cedc24c2799787b49
updates: bz#1193929
Signed-off-by: Yaniv Kaul <ykaul@redhat.com>
Diffstat (limited to 'rpc/rpc-transport/rdma')
-rw-r--r-- | rpc/rpc-transport/rdma/src/rdma.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/rpc/rpc-transport/rdma/src/rdma.c b/rpc/rpc-transport/rdma/src/rdma.c index 26cf201a8a3..ebf54885f1a 100644 --- a/rpc/rpc-transport/rdma/src/rdma.c +++ b/rpc/rpc-transport/rdma/src/rdma.c @@ -2880,9 +2880,7 @@ gf_rdma_submit_request(rpc_transport_t *this, rpc_transport_req_t *req) { int32_t ret = 0; gf_rdma_ioq_t *entry = NULL; - rpc_transport_data_t data = { - 0, - }; + rpc_transport_data_t data; gf_rdma_private_t *priv = NULL; gf_rdma_peer_t *peer = NULL; @@ -2940,9 +2938,7 @@ gf_rdma_submit_reply(rpc_transport_t *this, rpc_transport_reply_t *reply) { int32_t ret = 0; gf_rdma_ioq_t *entry = NULL; - rpc_transport_data_t data = { - 0, - }; + rpc_transport_data_t data; if (reply == NULL) { goto out; |