Switch from discard to void

Switch from discard to void
Remove dead code in Yi.Prelude