optical_flow.c: remove unused get_subpixels()

quiets a warning from clang:
av1/encoder/optical_flow.c:71:23: warning: unused function
'get_subpixels' [-Wunused-function]
static AOM_INLINE int get_subpixels(const YV12_BUFFER_CONFIG *frame, int *pred,
                      ^

Change-Id: I62b4ec2e6806812e21e7b8c64cb81385d91b1439
diff --git a/av1/encoder/optical_flow.c b/av1/encoder/optical_flow.c
index 3139a29..dc168e7 100644
--- a/av1/encoder/optical_flow.c
+++ b/av1/encoder/optical_flow.c
@@ -67,43 +67,6 @@
   return interp;
 }
 
-// bilinear interpolation to find subpixel values
-static AOM_INLINE int get_subpixels(const YV12_BUFFER_CONFIG *frame, int *pred,
-                                    const int w, const int h, LOCALMV mv,
-                                    const double x_coord,
-                                    const double y_coord) {
-  double left = x_coord + mv.row;
-  double top = y_coord + mv.col;
-  const int fromedge = 2;
-  const int height = frame->y_crop_height;
-  const int width = frame->y_crop_width;
-  if (left < 1) left = 1;
-  if (top < 1) top = 1;
-  // could use elements past boundary where stride > width
-  if (top > height - fromedge) top = height - fromedge;
-  if (left > width - fromedge) left = width - fromedge;
-  const uint8_t *buf = frame->y_buffer;
-  const int s = frame->y_stride;
-  int prev = -1;
-
-  int xint;
-  int yint;
-  int idx = 0;
-  for (int y = prev; y < prev + h; y++) {
-    for (int x = prev; x < prev + w; x++) {
-      double xx = left + x;
-      double yy = top + y;
-      xint = (int)xx;
-      yint = (int)yy;
-      int interp = pixel_interp(
-          xx, yy, buf[yint * s + xint], buf[yint * s + (xint + 1)],
-          buf[(yint + 1) * s + xint], buf[(yint + 1) * s + (xint + 1)]);
-      pred[idx++] = interp;
-    }
-  }
-  return 0;
-}
-
 // Scharr filter to compute spatial gradient
 static void spatial_gradient(const YV12_BUFFER_CONFIG *frame, const int x_coord,
                              const int y_coord, const int direction,