listing.php: unnecessary code removal