Page MenuHomePhabricator

[backport#16659] refactoring: Remove unused includes
ClosedPublic

Authored by majcosta on Jun 15 2020, 18:30.

Details

Reviewers
deadalnix
Group Reviewers
Restricted Project
Commits
rABCa3160568efbd: [backport#16659] refactoring: Remove unused includes
Summary

084e17cebd424b8e8ced674bc810eef4e6ee5d3b Remove unused includes (practicalswift)

Pull request description:

As requested by MarcoFalke in https://github.com/bitcoin/bitcoin/pull/16273#issuecomment-521332089:

This PR removes unused includes.

Please note that in contrast to #16273 I'm limiting the scope to the trivial cases of pure removals (i.e. no includes added) to make reviewing easier.

I'm seeking "Concept ACK":s for this obviously non-urgent minor cleanup.

Rationale:
* Avoids unnecessary re-compiles in case of header changes.
* Makes reasoning about code dependencies easier.
* Reduces compile-time memory usage.
* Reduces compilation time.
* Warm fuzzy feeling of being lean :-)

ACKs for top commit:

ryanofsky:
  Code review ACK 084e17cebd424b8e8ced674bc810eef4e6ee5d3b. PR only removes include lines and it still compiles. In the worst case someone might have to explicitly add an include later for something now included implicitly. But maybe some effort was taken to avoid this, and it wouldn't be a tragedy anyway.

Backport of Core PR16659

Test Plan
ninja check-all
ninja

Event Timeline

[Bot Message]
One or more PR numbers were detected in the summary.
Links to those PRs have been inserted into the summary for reference.

deadalnix added a subscriber: deadalnix.
deadalnix added inline comments.
src/zmq/zmqnotificationinterface.h
9

keep

This revision is now accepted and ready to land.Jun 15 2020, 20:43