ck_rhs: Localized style(9) clean-up.

ck_pring
Samy Al Bahra 11 years ago
parent 8867674c8f
commit 8f0b88afeb

@ -406,6 +406,7 @@ ck_rhs_map_probe_next(struct ck_rhs_map *map,
unsigned long offset, unsigned long offset,
unsigned long probes) unsigned long probes)
{ {
if (probes & map->offset_mask) { if (probes & map->offset_mask) {
offset = (offset &~ map->offset_mask) + offset = (offset &~ map->offset_mask) +
((offset + 1) & map->offset_mask); ((offset + 1) & map->offset_mask);
@ -418,6 +419,7 @@ static inline unsigned long
ck_rhs_map_probe_prev(struct ck_rhs_map *map, unsigned long offset, ck_rhs_map_probe_prev(struct ck_rhs_map *map, unsigned long offset,
unsigned long probes) unsigned long probes)
{ {
if (probes & map->offset_mask) { if (probes & map->offset_mask) {
offset = (offset &~ map->offset_mask) + ((offset - 1) & offset = (offset &~ map->offset_mask) + ((offset - 1) &
map->offset_mask); map->offset_mask);
@ -677,7 +679,6 @@ ck_rhs_map_probe(struct ck_rhs *hs,
unsigned long probe_limit, unsigned long probe_limit,
enum ck_rhs_probe_behavior behavior) enum ck_rhs_probe_behavior behavior)
{ {
void *k; void *k;
const void *compare; const void *compare;
long pr = -1; long pr = -1;

Loading…
Cancel
Save