diff options
| author | Ross Lagerwall <[email protected]> | 2019-02-01 14:42:28 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2019-02-04 22:17:33 -0500 |
| commit | d8f6382a7d026989029e2e50c515df954488459b (patch) | |
| tree | e0841d9b235da0965232505460e47fbb94f75605 /include/linux/fpga/altera-pr-ip-core.h | |
| parent | 88fc41c407158a7d2eaa4b2f7cfa289749d456c6 (diff) | |
Revert "scsi: libfc: Add WARN_ON() when deleting rports"
This reverts commit bbc0f8bd88abefb0f27998f40a073634a3a2db89.
It added a warning whose intent was to check whether the rport was still
linked into the peer list. It doesn't work as intended and gives false
positive warnings for two reasons:
1) If the rport is never linked into the peer list it will not be
considered empty since the list_head is never initialized.
2) If the rport is deleted from the peer list using list_del_rcu(), then
the list_head is in an undefined state and it is not considered empty.
Signed-off-by: Ross Lagerwall <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'include/linux/fpga/altera-pr-ip-core.h')
0 files changed, 0 insertions, 0 deletions