[PATCH openEuler-5.10-LTS 09/55] bcache: reduce redundant code in bch_cached_dev_run()