Don't flush current batch if the dependent wait is a nop Change-Id: I8a8722b9011fe042c1a4ce195938290fc75e7c86