aboutsummaryrefslogtreecommitdiff
path: root/drivers/cdx/controller/mcdi.h
diff options
context:
space:
mode:
authorAbhijit Gangurde <[email protected]>2023-06-13 14:13:18 +0530
committerGreg Kroah-Hartman <[email protected]>2023-06-15 13:42:16 +0200
commitb1c8ea3c09db24a55ff84ac047cb2e9d9f644bf9 (patch)
treef3a8c3cabac93fbcdff75f071f47e0c142ee0b7e /drivers/cdx/controller/mcdi.h
parentb8c5ff76059ded3758de3db83e04189a072ac01f (diff)
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 <[email protected]> Message-ID: <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
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
};
/**