Commit 9153b5b1 authored by Sudip Mukherjee's avatar Sudip Mukherjee Committed by Greg Kroah-Hartman

staging: most: remove unused variable

The variable conf was only assigned the value but was never used.
Signed-off-by: default avatarSudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 96d3064b
......@@ -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))) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment