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)
commit664204410afb3b0f538d176ad0c2713b04abd4b9
tree7112f64a719043f975a945723769f6015ae86d43
parent8ee94e3fc54d989897969d7ca8deacfe7850855c
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 e5361ca29f2f ("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