]> asedeno.scripts.mit.edu Git - linux.git/commit
scsi: libfc: directly call ELS request handlers
authorJohannes Thumshirn <jthumshirn@suse.de>
Fri, 7 Apr 2017 13:42:24 +0000 (15:42 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 12 Apr 2017 00:58:26 +0000 (20:58 -0400)
commitfcabb09e59a71ee7878ca3681828eed6e2c15cd2
tree69fb5423eb003ebcd5c3d946137165dae17c0795
parent97d27b0dd015e980ade63fda111fd1353276e28b
scsi: libfc: directly call ELS request handlers

Directly call ELS request handler functions in fc_lport_recv_els_req
instead of saving the pointer to the handler's receive function and then
later dereferencing this pointer.

This makes the code a bit more obvious.

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Chad Dupuis <chad.dupuis@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/libfc/fc_lport.c