]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
PCI/ASPM: Consolidate variable declaration and initialization
authorHans Zhang <18255117159@163.com>
Thu, 22 May 2025 16:15:33 +0000 (00:15 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 17 Jun 2025 22:31:54 +0000 (17:31 -0500)
commit64fd90ef25206b1b9f232fb192ceadb814e991a4
tree2efe16f984ec6569ea75d03bcc83586874c04c6e
parentc1842b98c9f1ac1aac468253febc437f880bb8b5
PCI/ASPM: Consolidate variable declaration and initialization

Merge the declaration and initialization of 'val' into a single statement
for clarity. This eliminates a redundant assignment operation and improves
code readability while maintaining the same functionality.

Signed-off-by: Hans Zhang <18255117159@163.com>
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://patch.msgid.link/20250522161533.394689-1-18255117159@163.com
drivers/pci/pcie/aspm.c