Remove unused variable in compute and volume

This is to remove unused variable to keep code clean.

Change-Id: I055da09930e7ed8d5c6df589f50c68ae70b75010
7 files changed