cgi: Clean removing dead code.

Testing pulling request.
Hopefully it's somewhat useful.