Commit bbc4e23
committed
scsi: qedf: Remove dead code
JIRA: https://issues.redhat.com/browse/RHEL-72637
If container_of() is used correctly, its result is never NULL. Remove the
code that depends on container_of() returning a NULL pointer.
Signed-off-by: Liao Chen <liaochen4@huawei.com>
Link: https://lore.kernel.org/r/20240921062956.2027563-1-liaochen4@huawei.com
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
(cherry picked from commit ab19e31)
Signed-off-by: John Meneghini <jmeneghi@redhat.com>1 parent d19c518 commit bbc4e23
1 file changed
+0
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4021 | 4021 | | |
4022 | 4022 | | |
4023 | 4023 | | |
4024 | | - | |
4025 | | - | |
4026 | | - | |
4027 | | - | |
4028 | | - | |
4029 | 4024 | | |
4030 | 4025 | | |
4031 | 4026 | | |
| |||
0 commit comments