]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit67571c0e5128e02aec85799b2c14ec58df38a597
tree7eb82ca567f38258d6047bb4da9f46884d46bcd8
parentf317ecb7e01889e9f51e1476fb38c5dc87d5ba58
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