rm unused var `serial` from modules.mine.update()
Merge pull request #4713 from cvrebert/patch-1

rm apparently unused var `serial` from modules.mine.update()