From aaab4951a688e4c3f43e0ce09855718e9ad5060d Mon Sep 17 00:00:00 2001 From: Hans Verkuil Date: Mon, 30 Apr 2012 05:02:11 -0300 Subject: [media] mxb: simplify a line that was too long Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- drivers/media/video/mxb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/media/video/mxb.c') diff --git a/drivers/media/video/mxb.c b/drivers/media/video/mxb.c index a698c24bea20..d26781871b1a 100644 --- a/drivers/media/video/mxb.c +++ b/drivers/media/video/mxb.c @@ -622,7 +622,7 @@ static int vidioc_g_audio(struct file *file, void *fh, struct v4l2_audio *a) } DEB_EE("VIDIOC_G_AUDIO %d\n", a->index); - memcpy(a, &mxb_audios[video_audio_connect[mxb->cur_audinput]], sizeof(struct v4l2_audio)); + *a = mxb_audios[video_audio_connect[mxb->cur_audinput]]; return 0; } -- cgit v1.2.3