From 7a561627189f6062d99bcb77a0c52dd55f25455e Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Fri, 30 May 2014 17:03:04 +0200 Subject: Remove unused variables The ret variable is declared but unused in two functions. Remove it. Signed-off-by: Laurent Pinchart --- src/mediactl.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') diff --git a/src/mediactl.c b/src/mediactl.c index 5daecb6..4ac2e13 100644 --- a/src/mediactl.c +++ b/src/mediactl.c @@ -640,7 +640,6 @@ void media_debug_set_handler(struct media_device *media, static struct media_device *__media_device_new(void) { struct media_device *media; - int ret; media = calloc(1, sizeof(*media)); if (media == NULL) @@ -657,7 +656,6 @@ static struct media_device *__media_device_new(void) struct media_device *media_device_new(const char *devnode) { struct media_device *media; - int ret; media = __media_device_new(); if (media == NULL) -- cgit v1.2.3