diff --git a/src/libcamera/software_isp/debayer_egl.cpp b/src/libcamera/software_isp/debayer_egl.cpp
index 93f7c6946..8147eca1c 100644
--- a/src/libcamera/software_isp/debayer_egl.cpp
+++ b/src/libcamera/software_isp/debayer_egl.cpp
@@ -276,16 +276,6 @@ int DebayerEGL::initBayerShaders(PixelFormat inputFormat, PixelFormat outputForm
 	return getShaderVariableLocations();
 }
 
-/**
- * \brief Get the output frame size
- *
- * \return The output frame size
- */
-unsigned int DebayerEGL::frameSize()
-{
-	return outputConfig_.frameSize;
-}
-
 int DebayerEGL::configure(const StreamConfiguration &inputCfg,
 			  const std::vector<std::reference_wrapper<StreamConfiguration>> &outputCfgs,
 			  [[maybe_unused]] bool ccmEnabled)
diff --git a/src/libcamera/software_isp/debayer_egl.h b/src/libcamera/software_isp/debayer_egl.h
index 59aebcc81..d4c1fa31e 100644
--- a/src/libcamera/software_isp/debayer_egl.h
+++ b/src/libcamera/software_isp/debayer_egl.h
@@ -55,7 +55,6 @@ public:
 	void stop();
 
 	const SharedFD &getStatsFD() { return stats_->getStatsFD(); }
-	unsigned int frameSize();
 
 	SizeRange sizes(PixelFormat inputFormat, const Size &inputSize);
 
