From 9153b5b1286546d6bee3be0662625573be7bc7a2 Mon Sep 17 00:00:00 2001 From: Sudip Mukherjee Date: Tue, 18 Aug 2015 20:48:27 +0530 Subject: [PATCH] staging: most: remove unused variable The variable conf was only assigned the value but was never used. Signed-off-by: Sudip Mukherjee Signed-off-by: Greg Kroah-Hartman --- drivers/staging/most/hdm-usb/hdm_usb.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/staging/most/hdm-usb/hdm_usb.c b/drivers/staging/most/hdm-usb/hdm_usb.c index 305303f2f17c..34843b0b495b 100644 --- a/drivers/staging/most/hdm-usb/hdm_usb.c +++ b/drivers/staging/most/hdm-usb/hdm_usb.c @@ -568,7 +568,6 @@ static void hdm_read_completion(struct urb *urb) struct device *dev; unsigned long flags; unsigned int channel; - struct most_channel_config *conf; mbo = urb->context; anchor = mbo->priv; @@ -582,8 +581,6 @@ static void hdm_read_completion(struct urb *urb) return; } - conf = &mdev->conf[channel]; - if (unlikely(urb->status && !(urb->status == -ENOENT || urb->status == -ECONNRESET || urb->status == -ESHUTDOWN))) { -- 2.30.2