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

datapath/connector: remove unused funcs #13374

Merged
merged 2 commits into from Oct 1, 2020

Conversation

tklauser
Copy link
Member

@tklauser tklauser commented Oct 1, 2020

The last remaining user of DeriveEndpointFrom was removed by commit
532ad9d ("rm pkg/workloads"). GetNetInfoFromPID and GetVethInfo
were only used by DeriveEndpointFrom, so remove them as well.

Also move the single-use function CheckLink to where it is used.

The last remaining user of DeriveEndpointFrom was removed by commit
532ad9d ("rm pkg/workloads"). GetNetInfoFromPID and GetVethInfo
were only used by DeriveEndpointFrom, so remove them as well.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
This function is only used in daemon/cmd in a single place, so move it
there and unexport it.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
@tklauser tklauser added kind/cleanup This includes no functional changes. release-note/misc This PR makes changes that have no direct user impact. labels Oct 1, 2020
@tklauser tklauser requested a review from a team October 1, 2020 13:21
@tklauser tklauser requested a review from a team as a code owner October 1, 2020 13:21
@tklauser
Copy link
Member Author

tklauser commented Oct 1, 2020

test-me-please

@christarazi christarazi merged commit 175c7da into master Oct 1, 2020
@christarazi christarazi deleted the pr/tklauser/datapath-remove-unused branch October 1, 2020 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/cleanup This includes no functional changes. release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants