Remove kernel dependency

Signed-off-by: Jon Ludlam <jonathan.ludlam@citrix.com>