summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: efe1724)
raw | patch | inline | side by side (parent: efe1724)
author | Mauro Carvalho Chehab <mchehab@redhat.com> | |
Sat, 27 Oct 2012 19:36:34 +0000 (16:36 -0300) | ||
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | |
Sun, 28 Oct 2012 09:39:02 +0000 (07:39 -0200) |
drivers/media/usb/au0828/au0828-dvb.c:275:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/au0828/au0828-dvb.c | patch | blob | history |
index b328f6550d0b28714ff7339e08844e5491c8b407..9a6f15613a3832d7c17754938098ed7f815458aa 100644 (file)
struct au0828_dev *dev = container_of(work, struct au0828_dev,
restart_streaming);
struct au0828_dvb *dvb = &dev->dvb;
- int ret;
if (dev->urb_streaming == 0)
return;
mutex_lock(&dvb->lock);
/* Stop transport */
- ret = stop_urb_transfer(dev);
+ stop_urb_transfer(dev);
au0828_write(dev, 0x608, 0x00);
au0828_write(dev, 0x609, 0x00);
au0828_write(dev, 0x60a, 0x00);
au0828_write(dev, 0x609, 0x72);
au0828_write(dev, 0x60a, 0x71);
au0828_write(dev, 0x60b, 0x01);
- ret = start_urb_transfer(dev);
+ start_urb_transfer(dev);
mutex_unlock(&dvb->lock);
}