ng_pktbuf_static: remove unnecessary parens

This commit is contained in:
Cenk Gündoğan 2015-07-31 19:14:49 +02:00
parent 4c4e54ad34
commit aec0a703c6

View File

@ -112,7 +112,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) {