scsi: libfc: Replace ->rport_recv_req callback with function call
The ->rport_recv_req callback only ever had one implementation, so we can as well call it directly and drop the callback. Signed-off-by: Hannes Reinecke <hare@suse.com> Acked-by: Johannes Thumshirn <jth@kernel.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:

committed by
Martin K. Petersen

parent
c96c792aee
commit
e76ee65fa6
@@ -902,7 +902,7 @@ static void fc_lport_recv_els_req(struct fc_lport *lport,
|
||||
/*
|
||||
* Check opcode.
|
||||
*/
|
||||
recv = lport->tt.rport_recv_req;
|
||||
recv = fc_rport_recv_req;
|
||||
switch (fc_frame_payload_op(fp)) {
|
||||
case ELS_FLOGI:
|
||||
if (!lport->point_to_multipoint)
|
||||
|
Reference in New Issue
Block a user