The variable conf was only assigned the value but was never used.

Signed-off-by: Sudip Mukherjee <[email protected]>
---
 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 305303f..34843b0 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))) {
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to