src/sys/arm/broadcom/bcm2835/bcm2835_sdhost.c:1026]: (warning) Opposite inner 'if' condition leads to a dead code block. Source code is for (i = 0; i < count;) { edm = RD4(sc, HC_DEBUG); avail = ((edm >> 4) & 0x1f); if (i + avail > count) { if (i >= count) return; else avail = count - i; return statement can never execute.
A commit references this bug: Author: gonzo Date: Mon Jul 16 01:07:29 UTC 2018 New revision: 336325 URL: https://svnweb.freebsd.org/changeset/base/336325 Log: Remove two checks that are always false Outer loop condition contradicts inner check so code under inner condition is not reachable. Remove it. PR: 229722 Reported by: David Binderman Changes: head/sys/arm/broadcom/bcm2835/bcm2835_sdhost.c