Skip to content
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

[PATCH v3] remove unused longindex #2173

Merged
merged 3 commits into from
Jan 22, 2025

Conversation

TuomasTaipale
Copy link
Collaborator

@TuomasTaipale TuomasTaipale commented Jan 16, 2025

When parsing command line arguments with getopt_long(), longindex output pointer can be NULL if it is not needed.

v2:

  • Rebased
  • Added reviewed-by tag

@odpbuild odpbuild changed the title remove unused longindex [PATCH v1] remove unused longindex Jan 16, 2025
Copy link
Collaborator

@MatiasElo MatiasElo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look OK. I'd squash the commits into three commits.
For example:

example: remove unused longindex
linux-gen: test: pktio_ipc: remove unused longindex
test: remove unused longindex

@TuomasTaipale
Copy link
Collaborator Author

About squashing, these are standalone and mostly targeting implementation-independent programs, so might as well be separate commits.

@JannePeltonen
Copy link
Collaborator

I would prefer squashing since they are all the same change and I do not see much (any?) benefit in not squashing.

@odpbuild odpbuild changed the title [PATCH v1] remove unused longindex [PATCH v2] remove unused longindex Jan 20, 2025
When parsing command line arguments with `getopt_long()`, longindex
output pointer can be `NULL` if it is not needed.

Signed-off-by: Tuomas Taipale <[email protected]>
Reviewed-by: Matias Elo <[email protected]>
When parsing command line arguments with `getopt_long()`, longindex
output pointer can be `NULL` if it is not needed.

Signed-off-by: Tuomas Taipale <[email protected]>
Reviewed-by: Matias Elo <[email protected]>
When parsing command line arguments with `getopt_long()`, longindex
output pointer can be `NULL` if it is not needed.

Signed-off-by: Tuomas Taipale <[email protected]>
Reviewed-by: Matias Elo <[email protected]>
@odpbuild odpbuild changed the title [PATCH v2] remove unused longindex [PATCH v3] remove unused longindex Jan 22, 2025
@MatiasElo MatiasElo enabled auto-merge (rebase) January 22, 2025 08:39
@MatiasElo MatiasElo merged commit c0cc3a6 into OpenDataPlane:master Jan 22, 2025
160 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants