[riot-notifications] [RIOT-OS/RIOT] sys/net/gnrc_pktbuf: deduplicate code (#15839)

Marian Buschsieweke notifications at github.com
Fri Jan 22 18:07:36 CET 2021

### Contribution description

Implement `gnrc_pktbuf_release_error()` in `gnrc_pktbuf` once, rather than providing two implementations in `gnrc_pktbuf_static` and `gnrc_pktbuf_malloc`.

### Testing procedure

- build for `master` and this PR:
    - `USEMODULE=gnrc_pktbuf_static make -C examples/gnrc_networking`
    - `USEMODULE=gnrc_pktbuf_malloc make -C examples/gnrc_networking`
- verify that the binary don't change compared to `master`

### Issues/PRs references

suggested in review of https://github.com/RIOT-OS/RIOT/pull/15694
You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * sys/net/gnrc_pktbuf: deduplicate code

-- File Changes --

    M sys/include/net/gnrc/pktbuf.h (1)
    M sys/net/gnrc/pktbuf/Makefile.include (3)
    M sys/net/gnrc/pktbuf/gnrc_pktbuf.c (31)
    A sys/net/gnrc/pktbuf/include/pktbuf_internal.h (120)
    M sys/net/gnrc/pktbuf_malloc/gnrc_pktbuf_malloc.c (54)
    M sys/net/gnrc/pktbuf_static/gnrc_pktbuf_static.c (123)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210122/06c702ee/attachment-0001.htm>

More information about the notifications mailing list