From: Arvin Schnell Date: Wed, 19 Apr 2023 07:36:57 +0000 (+0200) Subject: - cleanup X-Git-Tag: v0.10.5~22^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=29159fc722db0e895ffd0e086cc2484dc2a8f933;p=thirdparty%2Fsnapper.git - cleanup --- diff --git a/snapper/Hooks.cc b/snapper/Hooks.cc index d5a51eea..1c98fa40 100644 --- a/snapper/Hooks.cc +++ b/snapper/Hooks.cc @@ -207,14 +207,6 @@ namespace snapper } - void - Hooks::rollback(const string& subvolume, const Filesystem* filesystem, unsigned int old_num, - unsigned int new_num) - { - rollback(Stage::POST_ACTION, subvolume, filesystem, old_num, new_num); - } - - void Hooks::rollback(Stage stage, const string& subvolume, const Filesystem* filesystem, unsigned int old_num, unsigned int new_num) diff --git a/snapper/Hooks.h b/snapper/Hooks.h index ef0a7c35..171550da 100644 --- a/snapper/Hooks.h +++ b/snapper/Hooks.h @@ -55,8 +55,6 @@ namespace snapper static void rollback(const string& old_root, const string& new_root); - static void rollback(const string& subvolume, const Filesystem* filesystem, unsigned int old_num, - unsigned int new_num) __attribute__((deprecated)); static void rollback(Stage stage, const string& subvolume, const Filesystem* filesystem, unsigned int old_num, unsigned int new_num); diff --git a/snapper/Snapper.h b/snapper/Snapper.h index 14831d63..73d7a200 100644 --- a/snapper/Snapper.h +++ b/snapper/Snapper.h @@ -219,8 +219,6 @@ namespace snapper Snapshots snapshots; - SelinuxLabelHandle* selabel_handle_unused = nullptr; // TODO remove - }; }