pespin has submitted this change. ( 
https://gerrit.osmocom.org/c/libosmo-sccp/+/34617?usp=email )

Change subject: sccp: Drop unused local variable
......................................................................

sccp: Drop unused local variable

Change-Id: I7f829f1c285d01faeaad317262ddd51f39e42886
---
M src/sccp.c
1 file changed, 9 insertions(+), 3 deletions(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, but someone else must approve
  osmith: Looks good to me, approved




diff --git a/src/sccp.c b/src/sccp.c
index ecab9ab..85bea6d 100644
--- a/src/sccp.c
+++ b/src/sccp.c
@@ -840,7 +840,6 @@
        struct msgb *request;
        struct sccp_connection_request *req;
        uint8_t *data;
-       uint8_t extra_size = 3 + 1;
        int called_len;

        if (l3_data) {
@@ -850,8 +849,6 @@
                }
        }

-       if (l3_data)
-               extra_size += 2 + l3_length;
        request = msgb_alloc_headroom(SCCP_MSG_SIZE,
                                      SCCP_MSG_HEADROOM, "sccp connection 
request");
        request->l2h = &request->data[0];

--
To view, visit https://gerrit.osmocom.org/c/libosmo-sccp/+/34617?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Change-Id: I7f829f1c285d01faeaad317262ddd51f39e42886
Gerrit-Change-Number: 34617
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pes...@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <lafo...@osmocom.org>
Gerrit-Reviewer: osmith <osm...@sysmocom.de>
Gerrit-Reviewer: pespin <pes...@sysmocom.de>
Gerrit-MessageType: merged

Reply via email to