New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(mme): Remove unused trace defines #12055
Conversation
Thanks for opening a PR! 💯
Howto
More infoPlease take a moment to read through the Magma project's
If this is your first Magma PR, also consider reading
|
@ssanadhya Please let me know if there are other flags to be removed / cleaned up as well. The GitHub issue also mentions TRACE_HASHTABLE and TRACE_3GPP_SPEC but I was not sure about those. |
UE_LIST_OUT("SCTP stream send: 0x%04x", ue_ref->sctp_stream_send); | ||
#endif | ||
} | ||
void __attribute__((unused)) * *unused_resultP) {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the purpose of this empty function? This can be removed since it is only called in s1ap_dump_enb, which is also removed here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah didn't realize it is now empty! Will remove this too.
@themarwhal , we can get rid of TRACE_HASHTABLE since it is always set to false and leading to no-op. |
Thanks @ssanadhya ! Will clean those up as well. |
74a359f
to
d8fb47b
Compare
b695948
to
be8ca40
Compare
Signed-off-by: GitHub <noreply@github.com>
Signed-off-by: GitHub <noreply@github.com>
Signed-off-by: GitHub <noreply@github.com>
Signed-off-by: GitHub <noreply@github.com>
be8ca40
to
479f71c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can also remove magma/lte/gateway/c/core/oai/include/3gpp_requirements_24.301.h
Actually, I will move this cleanup to another PR because removing this would remove a lot more macros. |
Signed-off-by: GitHub <noreply@github.com>
2a4050d
to
a3d30bc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm, thanks for the cleanup!
* 'master' of github.com:magma/magma: chore: Mark nas_converter_test as manual until flakiness is addressed (magma#12130) chore(mme): address GH11898 (magma#12129) fix(agw): Update DNS resolvers for ec2 instance (magma#12045) feat(feg_relay): move session proxy to NH implementation (magma#11080) chore: Use per_file_copt for MME unit test flag (magma#12112) chore(mme): Remove unused trace defines (magma#12055) chore: experiment with only applying ASAN and LSAN to Magma C files (magma#12113) Revert "test(mme): Add injection of state loaded in S1AP state manager (magma#11456)" (magma#12121) chore: bump ssri (magma#12032) feat(dp): Add grant attempt count (magma#12101) fix(mme): Fix typing_extensions version dependency on magma_test (magma#12110)
* chore(mme): Remove unused trace defines Signed-off-by: GitHub <noreply@github.com> * deprecate SCTP_DUMP_LIST Signed-off-by: GitHub <noreply@github.com> * chore(mme): remove TRACE_HASHTABLE Signed-off-by: GitHub <noreply@github.com> * chore(mme): remove TRACE_3GPP_SPEC Signed-off-by: GitHub <noreply@github.com> * remove unused macros Signed-off-by: GitHub <noreply@github.com>
* chore(mme): Remove unused trace defines Signed-off-by: GitHub <noreply@github.com> * deprecate SCTP_DUMP_LIST Signed-off-by: GitHub <noreply@github.com> * chore(mme): remove TRACE_HASHTABLE Signed-off-by: GitHub <noreply@github.com> * chore(mme): remove TRACE_3GPP_SPEC Signed-off-by: GitHub <noreply@github.com> * remove unused macros Signed-off-by: GitHub <noreply@github.com>
Signed-off-by: GitHub noreply@github.com
Summary
Address #11898
Remove the following defines marked as "to be removed"
Test Plan
make build_oai
make test_oai
Additional Information