Get rid of unused ASurfaceControl in frame metrics callback
Test: Existing tests
Change-Id: I2c455d96ed2c3f79f7cb63aad3a145c8c07e5e62
diff --git a/include/private/surface_control_private.h b/include/private/surface_control_private.h
index 44324f8..7e6c515 100644
--- a/include/private/surface_control_private.h
+++ b/include/private/surface_control_private.h
@@ -29,8 +29,8 @@
/**
* Callback to be notified when surface stats for a specific surface control are available.
*/
-typedef void (*ASurfaceControl_SurfaceStatsListener)(void* context,
- ASurfaceControl* control, int32_t id, ASurfaceControlStats* stats);
+typedef void (*ASurfaceControl_SurfaceStatsListener)(void* context, int32_t id,
+ ASurfaceControlStats* stats);
/**
* Registers a callback to be invoked when surface stats from a specific surface are available.