gtx: remove unused variable numBuffBytes