From fdc7355fbe3960efcd2143fdb1661a400f6f3e55 Mon Sep 17 00:00:00 2001 From: Abhinav Baid Date: Thu, 23 May 2024 00:41:40 +0100 Subject: [PATCH] Add clear-storage example --- libfprint/fp-device.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/libfprint/fp-device.c b/libfprint/fp-device.c index 8ffcf690..4343349e 100644 --- a/libfprint/fp-device.c +++ b/libfprint/fp-device.c @@ -1828,14 +1828,6 @@ fp_device_clear_storage (FpDevice *device, return; } - if (!(priv->features & FP_DEVICE_FEATURE_STORAGE)) - { - g_task_return_error (task, - fpi_device_error_new_msg (FP_DEVICE_ERROR_NOT_SUPPORTED, - "Device has no storage.")); - return; - } - if (!(priv->features & FP_DEVICE_FEATURE_STORAGE_CLEAR)) { g_task_return_error (task,