Skip to content

Commit

Permalink
cleanup(scap): remove scap_t->m_mode
Browse files Browse the repository at this point in the history
Everything is now abstracted via platforms and engines

Signed-off-by: Grzegorz Nosek <grzegorz.nosek@sysdig.com>
  • Loading branch information
gnosek committed Jul 12, 2023
1 parent 5b9196b commit af33bbe
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion userspace/libscap/scap-int.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ struct scap
struct scap_engine_handle m_engine;
struct scap_platform *m_platform;

scap_mode_t m_mode;
char m_lasterr[SCAP_LASTERR_SIZE];

uint64_t m_evtcnt;
Expand Down
1 change: 0 additions & 1 deletion userspace/libscap/scap.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ int32_t scap_init_int(scap_t* handle, scap_open_args* oargs, const struct scap_v
//
// Preliminary initializations
//
handle->m_mode = vtable->mode;
handle->m_vtable = vtable;
handle->m_platform = platform;

Expand Down

0 comments on commit af33bbe

Please sign in to comment.