Skip to contentSkip to conversation

media: platform: coda: remove variable self assignment

PATCH New Gustavo A. R. Silva 1 participant 1 message May 17, 2017 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 media: platform: coda: remove variable self assignment

Remove variable self assignment.

Addresses-Coverity-ID: 1408817

---
 drivers/media/platform/coda/coda-common.c | 1 -
 1 file changed, 1 deletion(-)
drivers/media/platform/coda/coda-common.c +0 -1
index d523e99..a6699d8 100644
@@ -612,7 +612,6 @@ static int coda_try_fmt_vid_cap(struct file *file, void *priv,
 
 	/* The h.264 decoder only returns complete 16x16 macroblocks */
 	if (codec && codec->src_fourcc == V4L2_PIX_FMT_H264) {
-		f->fmt.pix.width = f->fmt.pix.width;
 		f->fmt.pix.height = round_up(f->fmt.pix.height, 16);
 		f->fmt.pix.bytesperline = round_up(f->fmt.pix.width, 16);
 		f->fmt.pix.sizeimage = f->fmt.pix.bytesperline *
Signature · 1 line
2.5.0