Skip to content

Removed unused init_lists() function that serves no purpose #3854

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

Merged
merged 4 commits into from
Nov 20, 2017
Merged

Removed unused init_lists() function that serves no purpose #3854

merged 4 commits into from
Nov 20, 2017

Conversation

devyte
Copy link
Collaborator

@devyte devyte commented Nov 20, 2017

Removed init_lists(). It was already marked as unused, so it doesn't generate a warning, but in truth it serves no purpose. The function pre-inits to 4 empty function slots, but the linked-list algorithms work without doing that init, and pre-initing that way has no performance advantage either.
If the function is ever needed in the future, for whatever reason, it can be retrieved from the file history.

@devyte
Copy link
Collaborator Author

devyte commented Nov 20, 2017

Finalizes #2183 .

@devyte devyte merged commit cb0a30c into esp8266:master Nov 20, 2017
@devyte devyte deleted the issue2183 branch November 20, 2017 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant