Skip to content

Commit

Permalink
Comment: Fixed an inappropriate test expression to remove a logical s…
Browse files Browse the repository at this point in the history
…hort circuit.
  • Loading branch information
munahaf committed Oct 25, 2023
1 parent f95f816 commit b8615af
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions dace/codegen/targets/snitch.py
Original file line number Diff line number Diff line change
Expand Up @@ -801,8 +801,6 @@ def alloc_ssr(self, sdfg, ssr_configs):
"""Given a list of ssr configurations, allocate SSR streamers to the data and change
the corresponding storage types"""

if len(ssr_configs) < 0:
return
allocated = 0
for streamer, sc in enumerate(ssr_configs):
if sc["map"] is None:
Expand Down

0 comments on commit b8615af

Please sign in to comment.