surfaceflinger: Remove redundant line
Test: TreeHugger
Change-Id: Ice9c1b1a0f2cf30b47a893d5da0e56d951f4dabc
diff --git a/services/surfaceflinger/Layer.cpp b/services/surfaceflinger/Layer.cpp
index 4080f12..c9c0a5c 100644
--- a/services/surfaceflinger/Layer.cpp
+++ b/services/surfaceflinger/Layer.cpp
@@ -415,7 +415,6 @@
cropCoords[1] = vec2(win.left, win.top + win.getHeight());
cropCoords[2] = vec2(win.right, win.top + win.getHeight());
cropCoords[3] = vec2(win.right, win.top);
- cropCoords[3] = vec2(win.right, win.top);
}
FloatRect Layer::computeCrop(const sp<const DisplayDevice>& display) const {