[SCSI] libfc: change to make remote port callback optional
authorJoe Eykholt <jeykholt@cisco.com>
Tue, 25 Aug 2009 21:02:01 +0000 (14:02 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 10 Sep 2009 17:07:47 +0000 (12:07 -0500)
commit8345592b8388b51e0f52f63e94a5a5d3f07fda9a
treec1552168982507bc331a3163a62106c649179941
parent19f97e3c0acc5eb03486044f5428395b7690a01a
[SCSI] libfc: change to make remote port callback optional

Since the rport list maintenance is now done in the rport module,
the callback (and ops) are usually not necessary.

Allow rdata->ops to be left NULL if nothing needs
to be done in an event callback.

Signed-off-by: Joe Eykholt <jeykholt@cisco.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/libfc/fc_disc.c
drivers/scsi/libfc/fc_rport.c