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:
parent
96d3064b46
commit
9153b5b128
@ -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))) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user