diff options
author | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-07-21 20:29:54 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-07-21 20:30:36 -0300 |
commit | d9d889d3249a6fee8ba61d0ea0e6f0a8e857c832 (patch) | |
tree | f25de7649bb80ebf0a6df22d6f8c87d761a7bbcb /drivers/staging | |
parent | 565092c6cde439f2cd377673e75ea91facd1ec88 (diff) |
staging/airspy: fix a compilation warning
drivers/staging/media/airspy/airspy.c: In function 'airspy_stop_streaming':
drivers/staging/media/airspy/airspy.c:569:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
int ret;
^
Cc: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/media/airspy/airspy.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/media/airspy/airspy.c b/drivers/staging/media/airspy/airspy.c index 0875808ce201..91857e738ba1 100644 --- a/drivers/staging/media/airspy/airspy.c +++ b/drivers/staging/media/airspy/airspy.c @@ -566,14 +566,13 @@ err: static void airspy_stop_streaming(struct vb2_queue *vq) { struct airspy *s = vb2_get_drv_priv(vq); - int ret; dev_dbg(&s->udev->dev, "%s:\n", __func__); mutex_lock(&s->v4l2_lock); /* stop hardware streaming */ - ret = airspy_ctrl_msg(s, CMD_RECEIVER_MODE, 0, 0, NULL, 0); + airspy_ctrl_msg(s, CMD_RECEIVER_MODE, 0, 0, NULL, 0); airspy_kill_urbs(s); airspy_free_urbs(s); |