If kzalloc'ing the funcs array (as mentioned in a previous comment), this line won't be needed.