hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/input/serio/serio_raw.c
....@@ -1,12 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Raw serio device providing access to a raw byte stream from underlying
34 * serio port. Closely emulates behavior of pre-2.6 /dev/psaux device
45 *
56 * Copyright (c) 2004 Dmitry Torokhov
6
- *
7
- * This program is free software; you can redistribute it and/or modify it
8
- * under the terms of the GNU General Public License version 2 as published by
9
- * the Free Software Foundation.
107 */
118
129 #include <linux/kref.h>
....@@ -162,7 +159,7 @@
162159 {
163160 struct serio_raw_client *client = file->private_data;
164161 struct serio_raw *serio_raw = client->serio_raw;
165
- char uninitialized_var(c);
162
+ char c;
166163 ssize_t read = 0;
167164 int error;
168165