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

gnrc_pktbuf: deprecate gnrc_pktbuf_replace_snip() #13333

Merged
merged 1 commit into from
Feb 11, 2020

Conversation

miri64
Copy link
Member

@miri64 miri64 commented Feb 11, 2020

Contribution description

The function is unused and unneeded since #9484 and #5089 calls to provide unittests.

Testing procedure

git grep "gnrc_pktbuf_replace_snip"

should only show the function declaration and definition.

With

make doc

the function appears in doc/doxygen/html/deprecated.html.

Issues/PRs references

Resolves #5089

@miri64 miri64 added Area: network Area: Networking CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Type: cleanup The issue proposes a clean-up / The PR cleans-up parts of the codebase / documentation labels Feb 11, 2020
@miri64 miri64 changed the title gnrc_pktbuf: remove gnrc_pktbuf_replace_snip() gnrc_pktbuf: deprecate gnrc_pktbuf_replace_snip() Feb 11, 2020
The function is unused and unneeded since 69d9ecc and
RIOT-OS#5089 calls to provide unittests.
Copy link
Contributor

@benpicco benpicco left a comment

Choose a reason for hiding this comment

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

The function is not used inside RIOT and unlikely to be used by external users (a quick google search showed no results)

@miri64 miri64 merged commit 4af8a79 into RIOT-OS:master Feb 11, 2020
@miri64 miri64 deleted the gnrc_pktbuf/cleanup/replace branch February 11, 2020 13:19
@miri64
Copy link
Member Author

miri64 commented Feb 11, 2020

Even if, with the deprecation note they still have 8 more month to remove their usage ;-).

@leandrolanzieri leandrolanzieri added this to the Release 2020.04 milestone Feb 20, 2020
@leandrolanzieri leandrolanzieri added Impact: minor The PR is small in size and might only require a quick look of a knowledgeable reviewer and removed Impact: minor The PR is small in size and might only require a quick look of a knowledgeable reviewer labels Feb 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: network Area: Networking CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Type: cleanup The issue proposes a clean-up / The PR cleans-up parts of the codebase / documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

gnrc: Missing unit test for gnrc_pktbuf_replace_snip
3 participants