Skip to content

Commit

Permalink
PCI: pcie: remove SPIN_LOCK_UNLOCKED
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
milindchoudhary authored and gregkh committed Jul 11, 2007
1 parent 6f6f8c2 commit f5609d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/pci/pcie/aer/aerdrv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f5609d7

Please sign in to comment.