diff mbox series

drivers: hid: fix indentation issue

Message ID 20220815032906.508250-1-dzm91@hust.edu.cn
State New
Headers show
Series drivers: hid: fix indentation issue | expand

Commit Message

Dongliang Mu Aug. 15, 2022, 3:29 a.m. UTC
From: Dongliang Mu <mudongliangabcd@gmail.com>

Fix indenting issue reported by Smatch

Signed-off-by: Dongliang Mu <mudongliangabcd@gmail.com>
---
 drivers/hid/hid-core.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
index b7f5566e338d..83f8554f7cb0 100644
--- a/drivers/hid/hid-core.c
+++ b/drivers/hid/hid-core.c
@@ -2712,10 +2712,10 @@  int hid_add_device(struct hid_device *hdev)
 	/*
 	 * Check for the mandatory transport channel.
 	 */
-	 if (!hdev->ll_driver->raw_request) {
+	if (!hdev->ll_driver->raw_request) {
 		hid_err(hdev, "transport driver missing .raw_request()\n");
 		return -EINVAL;
-	 }
+	}
 
 	/*
 	 * Read the device report descriptor once and use as template