misc: remove GNU Indent directives
Type: refactor Change-Id: I5235bf3e9aff58af6ba2c14e8c6529c4fc9ec86c Signed-off-by: Damjan Marion <damarion@cisco.com>
This commit is contained in:

committed by
Florin Coras

parent
e2ed599331
commit
c3148b1be8
@@ -662,7 +662,6 @@ ldp_select_init_maps (fd_set * __restrict original,
|
||||
clib_memcpy_fast (*resultb, original, n_bytes);
|
||||
memset (original, 0, n_bytes);
|
||||
|
||||
/* *INDENT-OFF* */
|
||||
clib_bitmap_foreach (fd, *resultb) {
|
||||
if (fd > nfds)
|
||||
break;
|
||||
@@ -672,7 +671,6 @@ ldp_select_init_maps (fd_set * __restrict original,
|
||||
else
|
||||
*vclb = clib_bitmap_set (*vclb, vlsh_to_session_index (vlsh), 1);
|
||||
}
|
||||
/* *INDENT-ON* */
|
||||
|
||||
si_bits_set = clib_bitmap_last_set (*vclb) + 1;
|
||||
*si_bits = (si_bits_set > *si_bits) ? si_bits_set : *si_bits;
|
||||
@@ -692,7 +690,6 @@ ldp_select_vcl_map_to_libc (clib_bitmap_t * vclb, fd_set * __restrict libcb)
|
||||
if (!libcb)
|
||||
return 0;
|
||||
|
||||
/* *INDENT-OFF* */
|
||||
clib_bitmap_foreach (si, vclb) {
|
||||
vlsh = vls_session_index_to_vlsh (si);
|
||||
ASSERT (vlsh != VLS_INVALID_HANDLE);
|
||||
@@ -704,7 +701,6 @@ ldp_select_vcl_map_to_libc (clib_bitmap_t * vclb, fd_set * __restrict libcb)
|
||||
}
|
||||
FD_SET (fd, libcb);
|
||||
}
|
||||
/* *INDENT-ON* */
|
||||
|
||||
return 0;
|
||||
}
|
||||
@@ -717,10 +713,8 @@ ldp_select_libc_map_merge (clib_bitmap_t * result, fd_set * __restrict libcb)
|
||||
if (!libcb)
|
||||
return;
|
||||
|
||||
/* *INDENT-OFF* */
|
||||
clib_bitmap_foreach (fd, result)
|
||||
FD_SET ((int)fd, libcb);
|
||||
/* *INDENT-ON* */
|
||||
}
|
||||
|
||||
int
|
||||
|
Reference in New Issue
Block a user