staging: unisys: remove unused vmcall functions from uisutils.h
authorBenjamin Romer <benjamin.romer@unisys.com>
Fri, 3 Oct 2014 18:09:23 +0000 (14:09 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Oct 2014 02:29:07 +0000 (10:29 +0800)
Delete the issue_vmcall_measurement_do_nothing() and
issue_vmcall_fatal() functions, because they are unused.

Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/include/uisutils.h

index b47543bef71b9dc61f640a59c1779f24fcaa1a52..677ed7e609af300d5ea4e46a17cd7370a4ce60b3 100644 (file)
@@ -269,15 +269,6 @@ static inline s64 issue_vmcall_query_guest_virtual_time_offset(void)
        return result;
 }
 
-static inline s64 issue_vmcall_measurement_do_nothing(void)
-{
-       u64 result = VMCALL_SUCCESS;
-       u64 physaddr = 0;
-
-       ISSUE_IO_VMCALL(VMCALL_MEASUREMENT_DO_NOTHING, physaddr, result);
-       return result;
-}
-
 struct log_info_t {
        unsigned long long last_cycles;
        unsigned long long delta_sum[64];
@@ -321,16 +312,6 @@ static inline unsigned int issue_vmcall_channel_mismatch(const char *chname,
        return result;
 }
 
-static inline unsigned int issue_vmcall_fatal(void)
-{
-       int result = VMCALL_SUCCESS;
-       u64 physaddr = 0;
-
-       ISSUE_IO_VMCALL(VMCALL_GENERIC_SURRENDER_QUANTUM_FOREVER, physaddr,
-                       result);
-       return result;
-}
-
 #define UIS_DAEMONIZE(nam)
 void *uislib_cache_alloc(struct kmem_cache *cur_pool, char *fn, int ln);
 #define UISCACHEALLOC(cur_pool) uislib_cache_alloc(cur_pool, __FILE__, __LINE__)