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);
|
mutex_unlock(&_mutex);
|
||||||
return NULL;
|
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;
|
void *new_data_marked, *new_data_rest;
|
||||||
new_data_marked = _pktbuf_alloc(size);
|
new_data_marked = _pktbuf_alloc(size);
|
||||||
if (new_data_marked == NULL) {
|
if (new_data_marked == NULL) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user