1
0
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:
Martine Lenders 2015-07-31 19:45:07 +02:00
commit 4d5d65a718

View File

@ -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) {