Both conditions are the same, so the second one is unreachable.
PR: 229550
Sponsored by: The FreeBSD Foundation
MFC after: 2 days
Paths
| Differential D47167 Authored by christos on Oct 17 2024, 2:41 PM.
Details Summary Both conditions are the same, so the second one is unreachable. PR: 229550
Diff Detail
Event TimelineHerald added a subscriber: imp. · View Herald TranscriptOct 17 2024, 2:41 PM2024-10-17 14:41:52 (UTC+0) Harbormaster completed remote builds in B60059: Diff 145042.Oct 17 2024, 2:41 PM2024-10-17 14:41:54 (UTC+0) This revision is now accepted and ready to land.Oct 17 2024, 3:11 PM2024-10-17 15:11:15 (UTC+0) Comment 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. Closed by commit rG6f96ef84b359: onyx: Remove unreachable if condition (authored by christos). · Explain WhyOct 18 2024, 8:51 AM2024-10-18 08:51:07 (UTC+0) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 145100 sys/dev/sound/macio/onyx.c
|
s/Service/service/g