staging: most: remove unused variable
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Tue, 18 Aug 2015 15:18:27 +0000 (20:48 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Sep 2015 01:24:31 +0000 (18:24 -0700)
The variable conf was only assigned the value but was never used.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/hdm-usb/hdm_usb.c

index 305303f2f17cd188073069589aadb4f91228c3d6..34843b0b495b4096f5800e365a2bfe1f6a6ae7ba 100644 (file)
@@ -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))) {