Skip to content
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

Eliminate dead configuration code #34285

Merged
merged 5 commits into from
Apr 2, 2020
Merged

Conversation

cshung
Copy link
Member

@cshung cshung commented Mar 30, 2020

As part of the work trying to understand #12948. I figured that the ConfigList data structure is never populated, so I proposed this PR to eliminate all the code related to it.

Any code that accesses ConfigList will never get anything useful, so I eliminated those code paths.

After the removal, some functions will always return E_FAIL, so we can also eliminate the function completely and patch to call sites to not call them.

A good deal of code is removed because of that :)

@jkotas, this is ready to be merged.

@Dotnet-GitSync-Bot
Copy link
Collaborator

I couldn't figure out the best area label to add to this PR. Please help me learn by adding exactly one area label.

@cshung cshung force-pushed the dev/andrewau/config branch from ab739ff to c12ee97 Compare March 31, 2020 16:05
@cshung cshung changed the title [WIP] Eliminate dead configuration code Eliminate dead configuration code Mar 31, 2020
@cshung cshung changed the title Eliminate dead configuration code [WIP] Eliminate dead configuration code Mar 31, 2020
@cshung cshung force-pushed the dev/andrewau/config branch 2 times, most recently from fa3386b to 810350b Compare April 1, 2020 20:03
@cshung cshung force-pushed the dev/andrewau/config branch from 810350b to 43833bd Compare April 1, 2020 20:58
@cshung cshung changed the title [WIP] Eliminate dead configuration code Eliminate dead configuration code Apr 1, 2020
Copy link
Member

@jkotas jkotas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for cleaning it up!

@jkotas jkotas merged commit e98c471 into dotnet:master Apr 2, 2020
@cshung cshung deleted the dev/andrewau/config branch April 2, 2020 04:30
@ghost ghost locked as resolved and limited conversation to collaborators Dec 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants