Remove unused double buffering