The valid_interval variable isn't actually used anywhere so it isn't needed