From e55266b4eae635b3497b411491a6aaf5ecea627e Mon Sep 17 00:00:00 2001 From: Vasily Khoruzhick Date: Thu, 29 Nov 2012 17:16:33 +0300 Subject: [PATCH] AES-drivers: drop redudant type cast in g_slist_free_full call --- libfprint/drivers/aes1610.c | 2 +- libfprint/drivers/aes2501.c | 2 +- libfprint/drivers/aes2550.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libfprint/drivers/aes1610.c b/libfprint/drivers/aes1610.c index c074137..2e04c59 100644 --- a/libfprint/drivers/aes1610.c +++ b/libfprint/drivers/aes1610.c @@ -616,7 +616,7 @@ static void capture_read_strip_cb(struct libusb_transfer *transfer) aesdev->strips = g_slist_reverse(aesdev->strips); img = aes_assemble(aesdev->strips, aesdev->strips_len, FRAME_WIDTH, FRAME_HEIGHT); - g_slist_free_full(aesdev->strips, (GFunc) g_free); + g_slist_free_full(aesdev->strips, g_free); aesdev->strips = NULL; aesdev->strips_len = 0; aesdev->blanks_count = 0; diff --git a/libfprint/drivers/aes2501.c b/libfprint/drivers/aes2501.c index ff03f17..75d19fc 100644 --- a/libfprint/drivers/aes2501.c +++ b/libfprint/drivers/aes2501.c @@ -485,7 +485,7 @@ static void capture_read_strip_cb(struct libusb_transfer *transfer) aesdev->strips = g_slist_reverse(aesdev->strips); img = aes_assemble(aesdev->strips, aesdev->strips_len, FRAME_WIDTH, FRAME_HEIGHT); - g_slist_free_full(aesdev->strips, (GFunc) g_free); + g_slist_free_full(aesdev->strips, g_free); aesdev->strips = NULL; aesdev->strips_len = 0; fpi_imgdev_image_captured(dev, img); diff --git a/libfprint/drivers/aes2550.c b/libfprint/drivers/aes2550.c index 2ffe852..96ce590 100644 --- a/libfprint/drivers/aes2550.c +++ b/libfprint/drivers/aes2550.c @@ -252,7 +252,7 @@ static void capture_set_idle_reqs_cb(struct libusb_transfer *transfer) aesdev->strips = g_slist_reverse(aesdev->strips); img = aes_assemble(aesdev->strips, aesdev->strips_len, FRAME_WIDTH, FRAME_HEIGHT); - g_slist_free_full(aesdev->strips, (GFunc) g_free); + g_slist_free_full(aesdev->strips, g_free); aesdev->strips = NULL; aesdev->strips_len = 0; fpi_imgdev_image_captured(dev, img); -- 1.8.0.1