Skip to content

Commit

Permalink
mgmtd: remove unguarded debug log
Browse files Browse the repository at this point in the history
The log doesn't provide any valuable information, so removing it instead
of adding a check.

Signed-off-by: Igor Ryzhov <[email protected]>
  • Loading branch information
idryzhov committed Jan 23, 2024
1 parent 22d1ad7 commit ed57daf
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions mgmtd/mgmt_txn.c
Original file line number Diff line number Diff line change
Expand Up @@ -1481,8 +1481,6 @@ static void mgmt_reset_get_data_reply(struct mgmt_get_data_reply *get_reply)
get_reply->reply_xpathp[indx] = 0;
}
if (get_reply->reply_data[indx].xpath) {
zlog_debug("%s free xpath %p", __func__,
get_reply->reply_data[indx].xpath);
free(get_reply->reply_data[indx].xpath);
get_reply->reply_data[indx].xpath = 0;
}
Expand Down

0 comments on commit ed57daf

Please sign in to comment.