[RLlib] Remove checking config[no_local_replay_buffer]
diff --git a/rllib/algorithms/algorithm.py b/rllib/algorithms/algorithm.py
index bbfcdfa5623ae..44c69355c8712 100644
--- a/rllib/algorithms/algorithm.py
+++ b/rllib/algorithms/algorithm.py
@@ -2690,7 +2690,7 @@ def _create_local_replay_buffer_if_necessary(
             None, if local replay buffer is not needed.
         """
         if not config.get("replay_buffer_config") or config["replay_buffer_config"].get(
-            "no_local_replay_buffer" or config.get("no_local_replay_buffer")
+            "no_local_replay_buffer"
         ):
             return
 

## Why are these changes needed?

Removes a redundant check for config["no_local_replay_buffer"].
This check never worked, but is redundant anyway, because we copy over `config["no_local_replay_buffer"]` to `config["replay_buffer_config"]["no_local_replay_buffer"]` in the config validation anyways.

## Related issue number

Closes https://github.com/ray-project/ray/issues/32905
