Remove unused lambda capture
Remove unused lambda capture

Summary: Remove unused lambda capture parameter which produces a warning in clang 5.

Reviewed By: Maratyszcza

Differential Revision: D6399643

fbshipit-source-id: cb49dc89749bd1d0143148ed559aa397f4d8f592

davinwang/caffe2,xzturn/caffe2,xzturn/caffe2,xzturn/caffe2,Yangqing/caffe2,Yangqing/caffe2,davinwang/caffe2,davinwang/caffe2,Yangqing/caffe2,caffe2/caffe2,davinwang/caffe2,Yangqing/caffe2,xzturn/caffe2,davinwang/caffe2,Yangqing/caffe2,xzturn/caffe2