aboutsummaryrefslogtreecommitdiff
path: root/drivers/extcon
diff options
context:
space:
mode:
authorKrzysztof Wilczyński2020-09-22 03:02:57 +0000
committerLorenzo Pieralisi2020-10-02 12:58:53 +0100
commit026b940f18bc531b2bf33a1f4ae47a2970597947 (patch)
treef50486e5a90b705cdc586b2e9737a13530943730 /drivers/extcon
parent9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 (diff)
PCI: xgene: Remove unused assignment to variable msi_val
The value assigned to msi_val after the inner loop finishes its run is never used for anything, and it is also immediately overridden in the line that follows with the return value from the xgene_msi_int_read() function. Since the value of msi_val following the inner loop completion is never used in any meaningful way the assignment can be removed. Addresses-Coverity-ID: 1437183 ("Unused value") Link: https://lore.kernel.org/r/20200922030257.459898-1-kw@linux.com Signed-off-by: Krzysztof Wilczyński <kw@linux.com> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Reviewed-by: Rob Herring <robh@kernel.org> Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/extcon')
0 files changed, 0 insertions, 0 deletions