diff mbox series

HID: core: Remove excess whitespace around code block

Message ID 20210211193052.70219-1-jason.gerecke@wacom.com (mailing list archive)
State New, archived
Delegated to: Jiri Kosina
Headers show
Series HID: core: Remove excess whitespace around code block | expand

Commit Message

Gerecke, Jason Feb. 11, 2021, 7:30 p.m. UTC
Correct whitespace error found by smatch:

    hid-core.c:2404 hid_add_device() warn: inconsistent indenting

Signed-off-by: Jason Gerecke <jason.gerecke@wacom.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 56172fe6995c..ee6862203e3b 100644
--- a/drivers/hid/hid-core.c
+++ b/drivers/hid/hid-core.c
@@ -2401,10 +2401,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