Page MenuHomeFreeBSD

ce,cp: Remove pointless checks for <sys/cdefs.h>
ClosedPublic

Authored by jhb on Apr 6 2022, 2:25 PM.

Details

Summary

Both of these headers check for _SYS_CDEFS_H_ after including
<sys/param.h> which itself includes <sys/cdefs.h>.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

jhb requested review of this revision.Apr 6 2022, 2:25 PM

leaving aside question of 'why do we still need these drivers', these change are good.

This revision is now accepted and ready to land.Apr 6 2022, 2:27 PM
In D34795#788641, @imp wrote:

leaving aside question of 'why do we still need these drivers', these change are good.

Perhaps we'll sort that out in D23928, eventually. They might get removed with a final spl* cleanup.

This revision was automatically updated to reflect the committed changes.