i40iw: do not print unitialized variables in error message
authorNicolas Iooss <nicolas.iooss_linux@m4x.org>
Sat, 25 Jun 2016 15:55:07 +0000 (17:55 +0200)
committerDoug Ledford <dledford@redhat.com>
Tue, 12 Jul 2016 14:46:34 +0000 (10:46 -0400)
commitb0548cff99ba927730d4f0c306b98cb6b6aa7cf7
tree1ba18cd95e71d706b36741e3fb93179d20e95355
parentc5a81d11d756bfa2b7215463b5908006871bd4fa
i40iw: do not print unitialized variables in error message

i40iw_create_cqp() printed the contents of variables maj_err and min_err
in an error message before they could be initialized (by calling
dev->cqp_ops->cqp_create).

Signed-off-by: Nicolas Iooss <nicolas.iooss_linux@m4x.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/i40iw/i40iw_main.c