]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipa: get rid of a duplicate initialization
authorAlex Elder <elder@linaro.org>
Thu, 12 May 2022 15:10:33 +0000 (10:10 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 May 2022 11:01:42 +0000 (12:01 +0100)
commitef95f043583eb307cde6d0754d6fcf294ff8840c
treea76cfdeb7411886a56b94a39c7bb36bb504f5e7d
parentfc2b691e6a46f7388a0eddc99e9c84ed084c787f
net: ipa: get rid of a duplicate initialization

In ipa_qmi_ready(), the "ipa" local variable is set when
initialized, but then set again just before it's first used.
One or the other is enough, so get rid of the first one.

References: https://lore.kernel.org/lkml/200de1bd-0f01-c334-ca18-43eed783dfac@intel.com/
Reported-by: kernel test robot <lkp@intel.com>
Fixes: b5839de2348d ("soc: qcom: ipa: AP/modem communications")
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipa/ipa_qmi.c