Update pixels.cpp

Removed unused code