drivers/media/v4l2-core/videobuf2-core.c:2784:33-34: Unneeded semicolon

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   3e1e21c7bfcfa9bf06c07f48a13faca2f62b3339
commit: af3bac1a7c8a21ff4f4edede397cba8e3f8ee503 [media] media: videobuf2: Move vb2_fileio_data and vb2_thread to core part
date:   5 weeks ago


coccinelle warnings: (new ones prefixed by >>)

>> drivers/media/v4l2-core/videobuf2-core.c:2784:33-34: Unneeded semicolon

vim +2784 drivers/media/v4l2-core/videobuf2-core.c

  2768				call_void_qop(q, wait_finish, q);
  2769				if (!threadio->stop)
  2770					ret = vb2_core_dqbuf(q, b, 0);
  2771				call_void_qop(q, wait_prepare, q);
  2772				dprintk(5, "file io: vb2_dqbuf result: %d\n", ret);
  2773			}
  2774			if (ret || threadio->stop)
  2775				break;
  2776			try_to_freeze();
  2777	
  2778			vb = q->bufs[b->index];
  2779			if (b->state == VB2_BUF_STATE_DONE)
  2780				if (threadio->fnc(vb, threadio->priv))
  2781					break;
  2782			call_void_qop(q, wait_finish, q);
  2783			if (copy_timestamp)
> 2784				b->timestamp = ktime_get_ns();;
  2785			if (!threadio->stop)
  2786				ret = vb2_core_qbuf(q, b->index, b);
  2787			call_void_qop(q, wait_prepare, q);
  2788			if (ret || threadio->stop)
  2789				break;
  2790		}
  2791	
  2792		/* Hmm, linux becomes *very* unhappy without this ... */

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux