kernel - Fix bogus compiler warning