Both conditions are the same, so the second one is unreachable.
PR: 229550
Sponsored by: The FreeBSD Foundation
MFC after: 2 days
Differential D47167
onyx: Remove unreachable if condition christos on Oct 17 2024, 2:41 PM. Authored by Tags None Referenced Files
Subscribers
Details Both conditions are the same, so the second one is unreachable. PR: 229550
Diff Detail
Event TimelineComment Actions Seems like a strange error to make and this is a functional change because the code in the else if block is dead today. I added @andreast as the committer of 9c3fbfbd6a739b053611d35ead0a67a5ecba8825 but I wouldn't be surprised if this hardware is not functional any longer. I don't object to landing this though - if someone reports that the driver no longer probes we can get them to investigate. Comment Actions Fine with me. I'm pretty sure, no machine with this chip will run an actual FreeBSD. Speaking for me, I have given up Mac PowerPC and FreeBSD a long time ago. |