Remove code that is not being used
Merge pull request #3045 from mduan/remove-gfx

Remove code that is not being used