Commit 2e81513b authored by Sudip Mukherjee's avatar Sudip Mukherjee Committed by Greg Kroah-Hartman

staging: unisys: remove unused variable

we were getting lots of warnings about _tempresult set but not used.
_tempresult was used in the macro ISSUE_IO_VMCALL_POSTCODE_SEVERITY
which was again using another macro ISSUE_IO_EXTENDED_VMCALL.
but the value assigned to it was never used.
Signed-off-by: default avatarSudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 35a90a56
...@@ -79,18 +79,15 @@ enum vmcall_monitor_interface_method_tuple { /* VMCALL identification tuples */ ...@@ -79,18 +79,15 @@ enum vmcall_monitor_interface_method_tuple { /* VMCALL identification tuples */
#define ISSUE_IO_VMCALL(method, param, result) \ #define ISSUE_IO_VMCALL(method, param, result) \
(result = unisys_vmcall(method, (param) & 0xFFFFFFFF, \ (result = unisys_vmcall(method, (param) & 0xFFFFFFFF, \
(param) >> 32)) (param) >> 32))
#define ISSUE_IO_EXTENDED_VMCALL(method, param1, param2, \ #define ISSUE_IO_EXTENDED_VMCALL(method, param1, param2, param3) \
param3, result) \ unisys_extended_vmcall(method, param1, param2, param3)
(result = unisys_extended_vmcall(method, param1, \
param2, param3))
/* The following uses VMCALL_POST_CODE_LOGEVENT interface but is currently /* The following uses VMCALL_POST_CODE_LOGEVENT interface but is currently
* not used much */ * not used much */
#define ISSUE_IO_VMCALL_POSTCODE_SEVERITY(postcode, severity) \ #define ISSUE_IO_VMCALL_POSTCODE_SEVERITY(postcode, severity) \
do { \ do { \
u32 _tempresult = VMCALL_SUCCESS; \
ISSUE_IO_EXTENDED_VMCALL(VMCALL_POST_CODE_LOGEVENT, severity, \ ISSUE_IO_EXTENDED_VMCALL(VMCALL_POST_CODE_LOGEVENT, severity, \
MDS_APPOS, postcode, _tempresult); \ MDS_APPOS, postcode); \
} while (0) } while (0)
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment