iwlwifi: mvm: don't use ret when not initialised
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 3 Aug 2016 19:06:43 +0000 (22:06 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Oct 2016 13:23:42 +0000 (15:23 +0200)
commit9ec153066b081132edb59998c7030f1fb1bd62a8
treee29a9c2829f24fce0d72bbd92dfe00e13d5f8234
parent40dc71547d5833ef90d54fd076816385f2811ef5
iwlwifi: mvm: don't use ret when not initialised

commit ff6e58e648ed5f3cc43891767811d5c3c88bbd41 upstream.

fw-dbg code return ret but that variable was either 0
or not initialised. Return 0 always.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Fixes: 6a95126763fb ("iwlwifi: mvm: send dbg config hcmds to fw if set in tlv")
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/iwlwifi/mvm/fw.c