summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Thompson <bryan.thompson@unisys.com>2016-12-01 01:31:14 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-12-01 09:58:48 +0100
commitaf8bc2fb99d4eea2d026d42db18abc5f3876936a (patch)
tree075f60523c329547df2b4dac57fd7b043fab2fff
parentc6bc82f144e901d84e3eb0355a2d6c47fd662956 (diff)
downloadlinux-stable-af8bc2fb99d4eea2d026d42db18abc5f3876936a.tar.gz
linux-stable-af8bc2fb99d4eea2d026d42db18abc5f3876936a.tar.bz2
linux-stable-af8bc2fb99d4eea2d026d42db18abc5f3876936a.zip
staging: unisys: visorbus: Remove two passthrough postcode macros
Remove two passthrough macros that are only called from a single location and make the resultant vmcall directly. Signed-off-by: Bryan Thompson <bryan.thompson@unisys.com> Signed-off-by: David Kershner <david.kershner@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/unisys/visorbus/vmcallinterface.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/drivers/staging/unisys/visorbus/vmcallinterface.h b/drivers/staging/unisys/visorbus/vmcallinterface.h
index ad3579792b42..674a88b657d3 100644
--- a/drivers/staging/unisys/visorbus/vmcallinterface.h
+++ b/drivers/staging/unisys/visorbus/vmcallinterface.h
@@ -92,15 +92,6 @@ enum vmcall_monitor_interface_method_tuple { /* VMCALL identification tuples */
#define ISSUE_IO_VMCALL(method, param, result) \
(result = unisys_vmcall(method, (param) & 0xFFFFFFFF, \
(param) >> 32))
-#define ISSUE_IO_EXTENDED_VMCALL(method, param1, param2, param3) \
- unisys_extended_vmcall(method, param1, param2, param3)
-
- /* The following uses VMCALL_POST_CODE_LOGEVENT interface but is currently
- * not used much
- */
-#define ISSUE_IO_VMCALL_POSTCODE_SEVERITY(postcode, severity) \
- ISSUE_IO_EXTENDED_VMCALL(VMCALL_POST_CODE_LOGEVENT, severity, \
- MDS_APPOS, postcode)
/* Structures for IO VMCALLs */
@@ -179,7 +170,8 @@ do { \
((((u64)__LINE__) & 0xFFF) << 32) | \
((((u64)pc16bit1) & 0xFFFF) << 16) | \
(((u64)pc16bit2) & 0xFFFF); \
- ISSUE_IO_VMCALL_POSTCODE_SEVERITY(post_code_temp, severity); \
+ unisys_extended_vmcall(VMCALL_POST_CODE_LOGEVENT, severity, \
+ MDS_APPOS, post_code_temp); \
} while (0)
#endif /* __IOMONINTF_H__ */