cnic: Add common cnic_request_irq()
authorMichael Chan <mchan@broadcom.com>
Wed, 13 Oct 2010 14:06:44 +0000 (14:06 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Oct 2010 17:45:52 +0000 (10:45 -0700)
commit6e0dc64384298b29ac17de7362b7d6d2ef588304
treeefb5e07ff94ea9ad02e85586078cb442a43e4498
parentf20ce779bb31a90985b0daea2bf0aaf009d21b81
cnic: Add common cnic_request_irq()

to reduce some duplicate code.  Also, use tasklet_kill() in
cnic_free_irq() to wait for the cnic_irq_task to complete.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cnic.c