PCI: vmd: Fix inconsistent indentation in vmd_resume()
authorXinghui Li <korantli@tencent.com>
Tue, 27 Jun 2023 11:38:08 +0000 (19:38 +0800)
committerKrzysztof Wilczyński <kwilczynski@kernel.org>
Mon, 18 Sep 2023 14:08:30 +0000 (14:08 +0000)
commit4c64d708f99378e6719294cc63a77adf8eeb82b4
treefb566f1d892bb0f1a5b0a4f05f252e6bef22937e
parent0bb80ecc33a8fb5a682236443c1e740d5c917d1d
PCI: vmd: Fix inconsistent indentation in vmd_resume()

The if-statement within the vmd_resume() function has an inconsistent
indentation that leads to a compile time warning.

Thus, correct the inconsistent indentation.  While at it, remove the
if-statement completely, which will make the code simpler.

This was detected by Smatch:

  drivers/pci/controller/vmd.c:1066 vmd_resume() warn: inconsistent indenting

No functional changes are intended.

[kwilczynski: use correct tags, commit log]
Suggested-by: Christoph Hellwig <hch@infradead.org>
Link: https://lore.kernel.org/linux-pci/20230627113808.269716-1-korantwork@gmail.com
Reported-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Xinghui Li <korantli@tencent.com>
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
drivers/pci/controller/vmd.c