]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: Remove unused attr variable in pci_dma_configure
authorNathan Chancellor <natechancellor@gmail.com>
Sat, 15 Dec 2018 01:49:01 +0000 (18:49 -0700)
committerChristoph Hellwig <hch@lst.de>
Sat, 15 Dec 2018 10:02:45 +0000 (11:02 +0100)
commit85724ea0d3b9acf085a26e228a0265a1c7fa601d
tree7112f64a719043f975a945723769f6015ae86d43
parent515154802b008941520fc52cd0ea7504572bd68c
PCI: Remove unused attr variable in pci_dma_configure

Clang warns:

drivers/pci/pci-driver.c:1603:21: error: unused variable 'attr'
[-Werror,-Wunused-variable]

Commit 3aa282660354 ("ACPI / scan: Refactor _CCA enforcement") removed
attr's use and replaced it with its assigned value so it is no longer
needed.

Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/pci/pci-driver.c