Remove unused variable re #8402

Signed-off-by: Karl Palmen <karl.palmen@stfc.ac.uk>
Merge branch 'feature/8402_bank_to_workspace' into develop