[openEuler-22.03-LTS 09/34] bcache: reduce redundant code in bch_cached_dev_run()