Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f5609d7e authored by Milind Arun Choudhary's avatar Milind Arun Choudhary Committed by Greg Kroah-Hartman
Browse files

PCI: pcie: remove SPIN_LOCK_UNLOCKED

parent 6f6f8c2f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -157,7 +157,7 @@ static struct aer_rpc* aer_alloc_rpc(struct pcie_device *dev)
	 * Initialize Root lock access, e_lock, to Root Error Status Reg,
	 * Root Error ID Reg, and Root error producer/consumer index.
	 */
	rpc->e_lock = SPIN_LOCK_UNLOCKED;
	spin_lock_init(&rpc->e_lock);

	rpc->rpd = dev;
	INIT_WORK(&rpc->dpc_handler, aer_isr);