scsi: libfc: Replace ->rport_flush_queue callback with function call
The ->rport_flush_queue callback only ever had a single 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
e76ee65fa6
commit
5922a95745
@@ -719,7 +719,7 @@ static void fc_disc_stop(struct fc_lport *lport)
|
||||
static void fc_disc_stop_final(struct fc_lport *lport)
|
||||
{
|
||||
fc_disc_stop(lport);
|
||||
lport->tt.rport_flush_queue();
|
||||
fc_rport_flush_queue();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user