tg3: Cleanup interrupt setup / teardown
authorMatt Carlson <mcarlson@broadcom.com>
Fri, 28 Aug 2009 14:01:15 +0000 (14:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 29 Aug 2009 22:42:54 +0000 (15:42 -0700)
commit07b0173cb5d6a9d77646cd855066ebe90b9203f2
tree5a2490f1965e552688f4b3cec4453d0bba99a386
parent79ed5ac7ddd5f8d6463f5a17b3575772e9896481
tg3: Cleanup interrupt setup / teardown

Later patches will be adding MSIX support, which will complicate
interrupt initialization.  This patch prepares for the integration by
breaking out the interrupt setup and teardown code into separate
functions and cleaning up the error return paths.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c