tmem: cleanup
authorJan Beulich <jbeulich@suse.com>
Tue, 11 Sep 2012 12:19:29 +0000 (14:19 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 11 Sep 2012 12:19:29 +0000 (14:19 +0200)
commit28957ed4fd2fecc99b67db60a9266aa2f59ab980
tree6df5d4181b320ea29a3f5cfe5309a09c9673a934
parent9a2982ce85aec92fb828af34041f41b00b723b62
tmem: cleanup

- one more case of checking for a specific rather than any error
- drop no longer needed first parameter from cli_put_page()
- drop a redundant cast

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Dan Magenheimer <dan.magenheimer@oracle.com>
xen/common/tmem.c
xen/common/tmem_xen.c