On Mon, 2011-12-19 at 23:26 +0200, Pekka Enberg wrote:
> On Mon, 2011-12-19 at 15:58 +0200, Sasha Levin wrote:
> > +int kvm_cmd_run(int argc, const char **argv, const char *prefix)
> > +{
> > + int r, ret;
> > +
> > + r = kvm_cmd_run_init(argc, argv);
> > + ret = kvm_cmd_run_work();
> > + r = kvm_cmd_run_uninit(ret);
> > +
> > + return ret;
> > }
>
> What's going on here? Why do you bother saving 'r' if you don't use it
> for anything?
It was part of my plans to get kvm_cmd_run_{init, uninit} as a simple
for(;;) through a init/uninit function pointer array, right now it's
simply meaningless there.
--
Sasha.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html