Skip to content

Commit

Permalink
MT#56465 sdp_out_add_session_name: remove unused func param
Browse files Browse the repository at this point in the history
`opmode` isn't used in this function.

Change-Id: Ie70c141a91a8633f84933dbd3da6a5b10c60d8f0
  • Loading branch information
zenichev committed Sep 13, 2024
1 parent e7f478d commit f46fe98
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions daemon/sdp.c
Original file line number Diff line number Diff line change
Expand Up @@ -3565,8 +3565,7 @@ static void sdp_out_add_origin(GString *out, struct call_monologue *monologue,
STR_FMT(&orig_address));
}

static void sdp_out_add_session_name(GString *out, struct call_monologue *monologue,
enum call_opmode opmode)
static void sdp_out_add_session_name(GString *out, struct call_monologue *monologue)
{
/* PUBLISH exceptionally doesn't include sdp session name from SDP.
* The session name and other values should be copied only from a source SDP,
Expand Down Expand Up @@ -3824,7 +3823,7 @@ int sdp_create(str *out, struct call_monologue *monologue, sdp_ng_flags *flags)
sdp_out_add_origin(s, monologue, first_ps, flags);

/* add an actual sdp session name */
sdp_out_add_session_name(s, monologue, flags->opmode);
sdp_out_add_session_name(s, monologue);

/* don't set connection on the session level
* but instead per media, below */
Expand Down

0 comments on commit f46fe98

Please sign in to comment.