aboutsummaryrefslogtreecommitdiff
path: root/arch/s390/pci/pci_msi.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/s390/pci/pci_msi.c')
-rw-r--r--arch/s390/pci/pci_msi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/s390/pci/pci_msi.c b/arch/s390/pci/pci_msi.c
index 90fd3482b9e..0297931335e 100644
--- a/arch/s390/pci/pci_msi.c
+++ b/arch/s390/pci/pci_msi.c
@@ -25,10 +25,9 @@ static DEFINE_SPINLOCK(msi_map_lock);
struct msi_desc *__irq_get_msi_desc(unsigned int irq)
{
- struct hlist_node *entry;
struct msi_map *map;
- hlist_for_each_entry_rcu(map, entry,
+ hlist_for_each_entry_rcu(map,
&msi_hash[msi_hashfn(irq)], msi_chain)
if (map->irq == irq)
return map->msi;