enic: organize device initialization/deinit into separate functions
authorScott Feldman <scofeldm@cisco.com>
Thu, 3 Sep 2009 17:02:45 +0000 (17:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Sep 2009 03:19:25 +0000 (20:19 -0700)
commit6fdfa97073a2bcbb60d900654c612b2ff09b9cb7
tree3297813813e0a1a82664e13b52cbc79ecb36ae92
parent491598a44f12fe8b862ab4123de1a1ffe9b86832
enic: organize device initialization/deinit into separate functions

To unclutter probe() a little bit, put all device initialization code
in one spot and device deinit code in another spot.  Also remove unused
rq->buf_index variable/func.

Signed-off-by: Scott Feldman <scofeldm@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/enic/enic_main.c
drivers/net/enic/vnic_rq.c
drivers/net/enic/vnic_rq.h
drivers/net/enic/vnic_wq.c
drivers/net/enic/vnic_wq.h