CPP hygiene, debug leftovers

This commit is contained in:
Francesco Mazzoli
2023-06-03 18:03:49 +00:00
parent cd86e632e2
commit f54727418f
2 changed files with 1 additions and 8 deletions

View File

@@ -365,7 +365,7 @@ static bool rs_has_cpu_level_core(enum rs_cpu_level level) {
} \
} while (0)
#define RS_SIZE(D, P) (sizeof(struct rs) + (D+P)*D + D*P*32)
#define RS_SIZE(D, P) (sizeof(struct rs) + ((D)+(P))*(D) + (D)*(P)*32)
static void rs_new_core(u8 parity, struct rs* r) {
int B = rs_blocks_core(parity);

View File

@@ -65,13 +65,6 @@ static struct ctl_table eggsfs_cb_sysctls[] = {
.proc_handler = eggsfs_drop_spans_sysctl,
},
#if 0
{
.procname = "refresh_info",
.data = &refresh_info,
}
#endif
EGGSFS_CTL_INT_TIME(dir_refresh_time),
EGGSFS_CTL_ULONG(span_cache_max_size_async),