staging: most: remove unused variable

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>
This commit is contained in:
Sudip Mukherjee 2015-08-18 20:48:27 +05:30 committed by Greg Kroah-Hartman
parent 96d3064b46
commit 9153b5b128

View 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))) {