Remove old `scanlines()` function

[ci skip]