Skip to content
Unverified Commit 4c64d708 authored by Xinghui Li's avatar Xinghui Li Committed by Krzysztof Wilczyński
Browse files

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: default avatarChristoph Hellwig <hch@infradead.org>
Link: https://lore.kernel.org/linux-pci/20230627113808.269716-1-korantwork@gmail.com


Reported-by: default avatarDan Carpenter <error27@gmail.com>
Signed-off-by: default avatarXinghui Li <korantli@tencent.com>
Signed-off-by: default avatarKrzysztof Wilczyński <kwilczynski@kernel.org>
parent 0bb80ecc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment