Minor fix in the kernel srv unreg