Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
Signed-off-by: Mai Bui <maibui@microsoft.com>
  • Loading branch information
maipbui committed Jun 8, 2023
1 parent 59166e9 commit 04c2870
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/systemd-sonic-generator/systemd-sonic-generator.c
Original file line number Diff line number Diff line change
Expand Up @@ -570,10 +570,8 @@ int get_num_of_asic() {
strip_trailing_newline(str_num_asic);
if (str_num_asic != NULL){
num_asic = strtol(str_num_asic, NULL, 10);
if (num_asic > 0) {
break;
}
}
break;
}
}
fclose(fp);
Expand Down

0 comments on commit 04c2870

Please sign in to comment.