We declare the following function like thus static struct idmap_methods *get_methods(struct idmap_backend *be, const char *name) and every reference to this function uses the static variable backends as the first parameter. Any reason we can't remove the parameter from all the calls and just reference the variable from the get_methods function?