]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit43c54120688c635249ae419002bda615822dca0d
treec1552168982507bc331a3163a62106c649179941
parent73d4335f98e40b1e3185c33af8f72b3ac4a9b14b
[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