Core: Get rid of unnecessary switch statement in Kernel

Kills off a warning when compiling.