mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
[SCSI] libfc: eliminate disc->event
There was no need to have the discovery status stored in struct fc_disc. Change fc_disc_done() to take the discovery status as an argument and just pass it on to the discovery callback. Signed-off-by: Joe Eykholt <[email protected]> Signed-off-by: Robert Love <[email protected]> Signed-off-by: James Bottomley <[email protected]>
This commit is contained in:
parent
00fea930d4
commit
786681b96f
2 changed files with 12 additions and 20 deletions
|
|
@ -679,7 +679,6 @@ struct fc_disc {
|
|||
unsigned char requested;
|
||||
unsigned short seq_count;
|
||||
unsigned char buf_len;
|
||||
enum fc_disc_event event;
|
||||
|
||||
void (*disc_callback)(struct fc_lport *,
|
||||
enum fc_disc_event);
|
||||
|
|
|
|||
Loading…
Reference in a new issue