daemon/commit: remove unneeded code Upstream-commit: e98ec2b5675610146f1c6c918f6b1665692d3bca Component: engine