IB/core: Replace setting the zero values in ib_uverbs_ex_query_device
authorLeon Romanovsky <leonro@mellanox.com>
Tue, 23 Feb 2016 08:25:24 +0000 (10:25 +0200)
committerDoug Ledford <dledford@redhat.com>
Mon, 21 Mar 2016 20:32:36 +0000 (16:32 -0400)
commit2953f42513225e2cc90a7a7e3d2d5ce9a7abc799
tree7eb82ca567f38258d6047bb4da9f46884d46bcd8
parent3f0393a57509c200aeecc5e3984bf1a47bffc578
IB/core: Replace setting the zero values in ib_uverbs_ex_query_device

The setting to zero during variable initialization eliminates
the need to explicitly set to zero variables and structures.

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/uverbs_cmd.c