Skip to content

Commit

Permalink
fix: remove duplicated code
Browse files Browse the repository at this point in the history
  • Loading branch information
wyfo committed Jan 15, 2025
1 parent 7018cfd commit 9a4e494
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions zenoh/src/net/routing/dispatcher/pubsub.rs
Original file line number Diff line number Diff line change
Expand Up @@ -410,10 +410,8 @@ pub fn route_data(
drop(tables);
#[cfg(feature = "stats")]
if !admin {
inc_stats!(face, rx, user, payload);
inc_stats!(outface, tx, user, payload);
} else {
inc_stats!(face, rx, admin, payload);
inc_stats!(outface, tx, admin, payload);
}

Expand Down

0 comments on commit 9a4e494

Please sign in to comment.