-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
extmod/modlwip: Remove unused include and functions. #17915
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #17915 +/- ##
=======================================
Coverage 98.38% 98.38%
=======================================
Files 171 171
Lines 22297 22297
=======================================
Hits 21938 21938
Misses 359 359 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Code size report:
|
c48079a
to
46dca0c
Compare
For clarity the motivation for this PR is that I was chasing down some problems and got led down the wrong path because I thought this stuff was still used. So removing it will avoid that chance for others in the future. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the clean up, this looks good.
(Long ago, it was possible to build the unix port with lwIP support, and use SLIP to create network interfaces, but that support seems to be long lost.)
Actually, I think |
46dca0c
to
41f66ac
Compare
Done. |
The lwIP includes are now port-specific. The `sys_arch_{,un}protect` functions are not used according to line 34 of `extmod/lwip-include/lwipopts_common.h`. Neither have been touched in nearly a decade. Signed-off-by: Thomas Watson <twatson52@icloud.com>
41f66ac
to
bba3542
Compare
Thanks for updating. |
Summary
The lwipopts.h is now port-specific.
The
sys_arch_{,un}protect
functions are not used according to line 34 ofextmod/lwip-include/lwipopts_common.h
.Neither have been touched in nearly a decade.
Testing
Ensured that W5500-EVB-Pico builds and the resulting binary is unchanged.