Re: [PATCH] xen: tmem: rmove useless parameters

2013-11-20 Thread Jan Beulich
>>> On 20.11.13 at 10:22, Bob Liu wrote: > On 11/20/2013 05:10 PM, Jan Beulich wrote: > On 20.11.13 at 09:52, Bob Liu wrote: >>> @@ -100,9 +100,6 @@ static inline int xen_tmem_op(u32 tmem_cmd, u32 > tmem_pool, struct tmem_oid oid, >>> op.u.gen.oid[1] = oid.oid[1]; >>> op.u.gen.oid[2]

Re: [PATCH] xen: tmem: rmove useless parameters

2013-11-20 Thread Bob Liu
On 11/20/2013 05:10 PM, Jan Beulich wrote: On 20.11.13 at 09:52, Bob Liu wrote: >> @@ -100,9 +100,6 @@ static inline int xen_tmem_op(u32 tmem_cmd, u32 >> tmem_pool, struct tmem_oid oid, >> op.u.gen.oid[1] = oid.oid[1]; >> op.u.gen.oid[2] = oid.oid[2]; >> op.u.gen.index = inde

Re: [PATCH] xen: tmem: rmove useless parameters

2013-11-20 Thread Jan Beulich
>>> On 20.11.13 at 09:52, Bob Liu wrote: > @@ -100,9 +100,6 @@ static inline int xen_tmem_op(u32 tmem_cmd, u32 > tmem_pool, struct tmem_oid oid, > op.u.gen.oid[1] = oid.oid[1]; > op.u.gen.oid[2] = oid.oid[2]; > op.u.gen.index = index; > - op.u.gen.tmem_offset = tmem_offset;

[PATCH] xen: tmem: rmove useless parameters

2013-11-20 Thread Bob Liu
tmem only takes a page as unit, so parameters tmem_offset, pfn_offset and len are meanless, this patch remove those always 0 parameters. Signed-off-by: Bob Liu --- drivers/xen/tmem.c | 18 ++ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/drivers/xen/tmem.c b/dr