gfxstream: nuke set instance for testing
Not used. Reviewed-by: Aaron Ruby <aruby@blackberry.com> Acked-by: Yonggang Luo <luoyonggang@gmail.com> Acked-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246>
This commit is contained in:
committed by
Marge Bot
parent
669b530c83
commit
9356a87867
@@ -45,7 +45,3 @@ void VirtGpuDevice::resetInstance() {
|
||||
sDevice = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
void VirtGpuDevice::setInstanceForTesting(VirtGpuDevice* device) {
|
||||
sDevice = device;
|
||||
}
|
||||
|
||||
@@ -180,8 +180,6 @@ class VirtGpuDevice {
|
||||
static VirtGpuDevice* getInstance(enum VirtGpuCapset capset = kCapsetNone);
|
||||
static void resetInstance();
|
||||
|
||||
static void setInstanceForTesting(VirtGpuDevice* device);
|
||||
|
||||
VirtGpuDevice(enum VirtGpuCapset capset) : mCapset(capset) {}
|
||||
virtual ~VirtGpuDevice() {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user