All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-trivial] [PATCH trivial v2 0/2] vl: simplify code for main()
@ 2014-04-15 23:55 Chen Gang
  2014-04-15 23:56 ` [Qemu-trivial] [PATCH trivial v2 1/2] vl: Remove useless 'continue' Chen Gang
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Chen Gang @ 2014-04-15 23:55 UTC (permalink / raw)
  To: Markus Armbruster, Peter Maydell, Michael Tokarev,
	Anthony Liguori
  Cc: QEMU Trivial, QEMU Developers

In "vl.c", at least, we can simplify the code below, so can let readers
read professional C code (especially for new readers, which often start
reading code at main function).

 - Remove useless 'continue' in main().

 - Eliminate a superfluous local variable in main().

Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
---
 vl.c | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-04-25  1:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-15 23:55 [Qemu-trivial] [PATCH trivial v2 0/2] vl: simplify code for main() Chen Gang
2014-04-15 23:56 ` [Qemu-trivial] [PATCH trivial v2 1/2] vl: Remove useless 'continue' Chen Gang
2014-04-15 23:57 ` [Qemu-trivial] [PATCH trivial v2 2/2] vl: Eliminate a superfluous local variable Chen Gang
2014-04-16  7:04 ` [Qemu-trivial] [Qemu-devel] [PATCH trivial v2 0/2] vl: simplify code for main() Markus Armbruster
2014-04-24 13:57 ` [Qemu-trivial] " Michael Tokarev

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.