mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #3534 from cgundogan/pr/ng_pktbuf_static/minor_style_fix
ng_pktbuf_static: remove unnecessary parens
This commit is contained in:
commit
4d5d65a718
@ -111,7 +111,7 @@ ng_pktsnip_t *ng_pktbuf_mark(ng_pktsnip_t *pkt, size_t size, ng_nettype_t type)
|
||||
mutex_unlock(&_mutex);
|
||||
return NULL;
|
||||
}
|
||||
if ((size < required_new_size)) { /* would not fit unused marker => move data around */
|
||||
if (size < required_new_size) { /* would not fit unused marker => move data around */
|
||||
void *new_data_marked, *new_data_rest;
|
||||
new_data_marked = _pktbuf_alloc(size);
|
||||
if (new_data_marked == NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user