summaryrefslogtreecommitdiff
path: root/drivers/cdx/controller/mcdi.h
diff options
context:
space:
mode:
authorAbhijit Gangurde <abhijit.gangurde@amd.com>2023-06-13 11:43:18 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-06-15 14:42:16 +0300
commitb1c8ea3c09db24a55ff84ac047cb2e9d9f644bf9 (patch)
treef3a8c3cabac93fbcdff75f071f47e0c142ee0b7e /drivers/cdx/controller/mcdi.h
parentb8c5ff76059ded3758de3db83e04189a072ac01f (diff)
downloadlinux-b1c8ea3c09db24a55ff84ac047cb2e9d9f644bf9.tar.xz
cdx: Replace custom mcdi logging with print_hex_dump_debug()
Replace custom mcdi logging for send and receive requests with dynamic debug method print_hex_dump_debug(). Signed-off-by: Abhijit Gangurde <abhijit.gangurde@amd.com> Message-ID: <20230613084318.27996-1-abhijit.gangurde@amd.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/cdx/controller/mcdi.h')
-rw-r--r--drivers/cdx/controller/mcdi.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/cdx/controller/mcdi.h b/drivers/cdx/controller/mcdi.h
index 0bfbeab04e43..54a65e9760ae 100644
--- a/drivers/cdx/controller/mcdi.h
+++ b/drivers/cdx/controller/mcdi.h
@@ -153,8 +153,6 @@ struct cdx_mcdi_cmd {
* @mode: Poll for mcdi completion, or wait for an mcdi_event
* @prev_seq: The last used sequence number
* @new_epoch: Indicates start of day or start of MC reboot recovery
- * @logging_buffer: Buffer that may be used to build MCDI tracing messages
- * @logging_enabled: Whether to trace MCDI
*/
struct cdx_mcdi_iface {
struct cdx_mcdi *cdx;
@@ -170,10 +168,6 @@ struct cdx_mcdi_iface {
enum cdx_mcdi_mode mode;
u8 prev_seq;
bool new_epoch;
-#ifdef CONFIG_MCDI_LOGGING
- bool logging_enabled;
- char *logging_buffer;
-#endif
};
/**