[SCSI] fcoe: prep work to completely remove fc_transport_fcoe code
authorVasu Dev <vasu.dev@intel.com>
Fri, 27 Mar 2009 16:03:29 +0000 (09:03 -0700)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 3 Apr 2009 14:23:00 +0000 (09:23 -0500)
commit5919a59503577c2dc6eaa8bfba0f7bde3f9924ba
tree8b24bf78c4d21296990a598128cd334b59e4b0db
parent8976f424d43c80ea32b6e847226e1a8ccdb6e748
[SCSI] fcoe: prep work to completely remove fc_transport_fcoe code

The fcoe transport code was added for generic FCoE transport
infrastructure to allow additional offload related module loading
on demand, this is not required anymore after recently added
different offload approach by having offload related func ops
in netdev.

This patch removes fcoe transport related code use, calls functions
directly between existing libfcoe.c and fcoe_sw.c for now, for
example fcoe_sw_destroy and fcoe_sw_create calling.

The fcoe_sw.c and libfcoe.c code will be further consolidated in
later patches and then also the default fcoe sw transport code
file fcoe_sw.c will be completely removed.

The fcoe transport code files are completely removed in next
patch to keep this patch simple for reviewing.

[This patch is an update to a previous patch. This update
resolves a build error as well as fixes a defect related to
not calling fc_release_transport().]

Signed-off-by: Vasu Dev <vasu.dev@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/fcoe/Makefile
drivers/scsi/fcoe/fcoe_sw.c
drivers/scsi/fcoe/libfcoe.c
include/scsi/libfcoe.h