smsc911x.c: encapsulate enable irq calls
authorMatthias Brugger <mbrugger@iseebcn.com>
Fri, 22 Jun 2012 01:10:15 +0000 (01:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 23 Jun 2012 00:06:51 +0000 (17:06 -0700)
commit8e27628ecf883b9e5825103e40e6f86bf8225f1a
tree84336215754a596d28430fb100052c886f508c9c
parentbb1dfefdc62fa68107c4c9f1374cb856743a9434
smsc911x.c: encapsulate enable irq calls

We encapsulate enbale irq functionality in a function call.
As on probe the interrupts will be disabled twice, we delete
one.

Signed-off-by: Matthias Brugger <mbrugger@iseebcn.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/smsc/smsc911x.c