Blame SOURCES/0001-Correct-two-comments.patch

ccad43
From ce73d3ff5f3d2be67bd1213e21163db938943ac5 Mon Sep 17 00:00:00 2001
ccad43
From: Peter Hutterer <peter.hutterer@who-t.net>
ccad43
Date: Wed, 24 Oct 2018 10:10:46 +1000
ccad43
Subject: [PATCH 1/4] Correct two comments
ccad43
ccad43
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
ccad43
Reviewed-by: Ping Cheng <ping.cheng@wacom.com>
ccad43
(cherry picked from commit 6e2728780056614e4b2f37abde4f60f072edc95a)
ccad43
---
ccad43
 src/wcmUSB.c | 6 ++----
ccad43
 1 file changed, 2 insertions(+), 4 deletions(-)
ccad43
ccad43
diff --git a/src/wcmUSB.c b/src/wcmUSB.c
ccad43
index 8ded958..8a07368 100644
ccad43
--- a/src/wcmUSB.c
ccad43
+++ b/src/wcmUSB.c
ccad43
@@ -980,9 +980,7 @@ static void usbParseEvent(InputInfoPtr pInfo,
ccad43
 
ccad43
 	DBG(10, common, "\n");
ccad43
 
ccad43
-	/* store events until we receive the MSC_SERIAL containing
ccad43
-	 * the serial number or a SYN_REPORT.
ccad43
-	 */
ccad43
+	/* store events until we receive a SYN_REPORT */
ccad43
 
ccad43
 	/* space left? bail if not. */
ccad43
 	if (private->wcmEventCnt >= ARRAY_SIZE(private->wcmEvents))
ccad43
@@ -1036,7 +1034,7 @@ static void usbParseSynEvent(InputInfoPtr pInfo,
ccad43
 	}
ccad43
 	else
ccad43
 	{
ccad43
-		/* not an SYN_REPORT and not an SYN_REPORT, bail out */
ccad43
+		/* not a MSC_SERIAL and not a SYN_REPORT, bail out */
ccad43
 		return;
ccad43
 	}
ccad43
 
ccad43
-- 
ccad43
2.19.2
ccad43