kernel-fxtec-pro1x/drivers/scsi/fcoe
Robert Love fc47ff6b1b [SCSI] libfc, fcoe: Remove unnecessary cast by removing inline wrapper
Comment from "Andrew Morton <akpm@linux-foundation.org>"

> +{
> +     return (struct fcoe_softc *)lport_priv(lp);

unneeded/undesirable cast of void*.  There are probably zillions of
instances of this - there always are.

This whole inline function was unnecessary. The FCoE layer knows
that it's data structure is stored in the lport private data, it
can just access it from lport_priv().

Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2009-03-10 09:05:35 -05:00
..
fc_transport_fcoe.c [SCSI] libfc, fcoe: Cleanup function formatting and minor typos 2009-03-10 09:05:09 -05:00
fcoe_sw.c [SCSI] libfc, fcoe: Remove unnecessary cast by removing inline wrapper 2009-03-10 09:05:35 -05:00
libfcoe.c [SCSI] libfc, fcoe: Remove unnecessary cast by removing inline wrapper 2009-03-10 09:05:35 -05:00
Makefile [SCSI] fcoe: Fibre Channel over Ethernet 2008-12-29 11:24:33 -06:00