diff --git a/internal/ngap/handler/handler.go b/internal/ngap/handler/handler.go index 23cf0e4..4615bc1 100644 --- a/internal/ngap/handler/handler.go +++ b/internal/ngap/handler/handler.go @@ -1756,6 +1756,7 @@ func HandlePDUSessionResourceModifyRequest(amf *context.TNGFAMF, message *ngapTy // ngap_message.SendPDUSessionResourceModifyResponse(amf, tngfUe, responseList, failedListModRes, nil) } +// temporarily unused function // nolint func handlePDUSessionResourceModifyRequestTransfer( pduSession *context.PDUSession, transfer ngapType.PDUSessionResourceModifyRequestTransfer) ( @@ -2717,6 +2718,7 @@ func buildCause(present int, value aper.Enumerated) (cause *ngapType.Cause) { return } +// temporarily unused function // nolint func printAndGetCause(cause *ngapType.Cause) (present int, value aper.Enumerated) { present = cause.Present @@ -2775,6 +2777,7 @@ func printCriticalityDiagnostics(criticalityDiagnostics *ngapType.CriticalityDia } } +// temporarily unused function // nolint func getPDUSessionResourceReleaseResponseTransfer() []byte { data := ngapType.PDUSessionResourceReleaseResponseTransfer{} diff --git a/pkg/radius/handler/3gpp_types.go b/pkg/radius/handler/3gpp_types.go index 7116f18..040101e 100644 --- a/pkg/radius/handler/3gpp_types.go +++ b/pkg/radius/handler/3gpp_types.go @@ -258,9 +258,6 @@ func UnmarshalEAP5GData(codedData []byte) ( if len(parameterValue) < int(parameterLength) { return 0, nil, nil, errors.New("Error formatting") } - // else { - // parameterValue = parameterValue[:parameterLength] - // } } else { radiusLog.Warn("AN-Parameter selected NID field empty") } diff --git a/pkg/radius/service/service.go b/pkg/radius/service/service.go index 0da7437..8982ebd 100644 --- a/pkg/radius/service/service.go +++ b/pkg/radius/service/service.go @@ -28,9 +28,7 @@ func Run() error { return errors.New("Radius service run failed") } - // // Listen and serve - // var errChan chan error - + // Listen and serve // Port 1812 errChan := make(chan error) go listenAndServe(udpAddrPort1812, errChan)