diff options
Diffstat (limited to 'core/src/stored/backends/unix_tape_device.cc')
-rw-r--r-- | core/src/stored/backends/unix_tape_device.cc | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/core/src/stored/backends/unix_tape_device.cc b/core/src/stored/backends/unix_tape_device.cc index b7b62f771..b196b0f09 100644 --- a/core/src/stored/backends/unix_tape_device.cc +++ b/core/src/stored/backends/unix_tape_device.cc @@ -59,13 +59,6 @@ unix_tape_device::unix_tape_device() SetCap(CAP_ADJWRITESIZE); /* Adjust write size to min/max */ } -class Backend : public BackendInterface { - public: - Device* GetDevice() override { return new unix_tape_device; } -}; - -#ifdef HAVE_DYNAMIC_SD_BACKENDS -extern "C" BackendInterface* GetBackend(void) { return new Backend; } -#endif +REGISTER_SD_BACKEND(tape, unix_tape_device) } /* namespace storagedaemon */ |