diff mbox series

[v2,02/14] qmi: Remove control_major and control_minor

Message ID 20240625164158.1170937-2-denkenz@gmail.com (mailing list archive)
State Accepted
Commit c2fca8c3ff5afe605b5408b3653c38183fe0e97f
Headers show
Series [v2,01/14] qmi: Introduce SERVICE_VERSION macro | expand

Commit Message

Denis Kenzior June 25, 2024, 4:41 p.m. UTC
These attributes are no longer used, remove them.
---
 drivers/qmimodem/qmi.c | 4 ----
 1 file changed, 4 deletions(-)
diff mbox series

Patch

diff --git a/drivers/qmimodem/qmi.c b/drivers/qmimodem/qmi.c
index 5f29c4384803..238039d4add7 100644
--- a/drivers/qmimodem/qmi.c
+++ b/drivers/qmimodem/qmi.c
@@ -100,8 +100,6 @@  struct qmi_device {
 
 struct qmi_qmux_device {
 	struct qmi_device super;
-	uint16_t control_major;
-	uint16_t control_minor;
 	char *version_str;
 	struct debug_data debug;
 	struct {
@@ -1235,8 +1233,6 @@  static void qmux_discover_callback(struct qmi_request *req, uint16_t message,
 					type, major, minor);
 
 		if (type == QMI_SERVICE_CONTROL) {
-			qmux->control_major = major;
-			qmux->control_minor = minor;
 			control_version = SERVICE_VERSION(major, minor);
 			continue;
 		}