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

More revisions to System::Layer #8417

Merged
merged 1 commit into from
Jul 16, 2021

Conversation

kpschoedel
Copy link
Contributor

Problem

System::Layer has unused code.

Change overview

  • Removed SystemLayer.mPlatformData, which was never set or used,
    along with associated functions.

  • Removed SystemLayer.mContext, which was set but never used,
    along with associated function arguments.

  • Removed CHIP_SYSTEM_CONFIG_PLATFORM_PROVIDES_XTOR_FUNCTIONS
    and associated functions, which were never used.

  • Rearrangements to group LwIP-specific code together.

  • Revisions to System::Layer #8267 review followup: rename namespace EventSupport to Eventing

Testing

Successful builds should confirm unused code is unused.
Sanity check using chip-tool.

#### Problem

#### Change overview

- Removed `SystemLayer.mPlatformData`, which was never set or used,
  along with associated functions.

- Removed `SystemLayer.mContext`, which was set but never used,
  along with associated function arguments.

- Removed `CHIP_SYSTEM_CONFIG_PLATFORM_PROVIDES_XTOR_FUNCTIONS`
  and associated functions, which were never used.

- Rearrangements to group LwIP-specific code together.

- project-chip#8267 review followup: rename namespace EventSupport to Eventing

#### Testing

Successful builds should confirm unused code is unused.
Sanity check using chip-tool.
@bzbarsky-apple bzbarsky-apple merged commit 110ef41 into project-chip:master Jul 16, 2021
@kpschoedel kpschoedel deleted the x7725-system-event-2 branch July 16, 2021 13:23
nikita-s-wrk pushed a commit to nikita-s-wrk/connectedhomeip that referenced this pull request Sep 23, 2021
#### Problem

#### Change overview

- Removed `SystemLayer.mPlatformData`, which was never set or used,
  along with associated functions.

- Removed `SystemLayer.mContext`, which was set but never used,
  along with associated function arguments.

- Removed `CHIP_SYSTEM_CONFIG_PLATFORM_PROVIDES_XTOR_FUNCTIONS`
  and associated functions, which were never used.

- Rearrangements to group LwIP-specific code together.

- project-chip#8267 review followup: rename namespace EventSupport to Eventing

#### Testing

Successful builds should confirm unused code is unused.
Sanity check using chip-tool.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants