Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
edeNFed committed Nov 26, 2024
1 parent 09acf1d commit d056dd4
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions procdiscovery/pkg/inspectors/python/python.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,6 @@ func (p *PythonInspector) isLibPythonLinked(proc *process.Details) bool {
}
defer elfFile.Close()

section := elfFile.Section(".dynamic")
if section == nil {
return false
}

dynamicSection, err := elfFile.DynString(elf.DT_NEEDED)
if err != nil {
return false
Expand Down

0 comments on commit d056dd4

Please sign in to comment.