qla3xxx: ethernet: Fix bogus interrupt state flag.
authorSantosh Nayak <santoshprasadnayak@gmail.com>
Fri, 2 Mar 2012 05:09:05 +0000 (05:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Mar 2012 21:50:52 +0000 (16:50 -0500)
In 'ql_adapter_initialize'
the first call for 'spin_unlock_irqrestore()' is with hw_flags = 0,
which is as good as 'spin_unlock_irq()' (unconditional interrupt
enabling). If this is intended, then for better performance
'spin_unlock_irqrestore()' can be replaced with 'spin_unlock_irq()'
and 'spin_lock_irqsave()' can be replaced by 'spin_lock_irq()

Signed-off-by: Santosh Nayak <santoshprasadnayak@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found