gpu-compute: Stop passing in a default value to resize().

A default constructed element of the container is the default value to
the second resize() parameter. Having that parameter explicitly causes a
warning/error in newer versions of gcc, and is unnecessary regardless.

Change-Id: I6aee2d23f0f4382b00caf552c8e38940614c5f9a
Reviewed-by: Jason Lowe-Power <>
Tested-by: kokoro <>
Maintainer: Gabe Black <>
Reviewed-by: Yu-hsin Wang <>
diff --git a/src/gpu-compute/ b/src/gpu-compute/
index 9ab1cfd..b5f17c8 100644
--- a/src/gpu-compute/
+++ b/src/gpu-compute/
@@ -48,7 +48,7 @@
 VectorRegisterFile::VectorRegisterFile(const VectorRegisterFileParams &p)
     : RegisterFile(p)
-    regFile.resize(numRegs(), VecRegContainer());
+    regFile.resize(numRegs());
     for (auto &reg : regFile) {;