| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Raw serio device providing access to a raw byte stream from underlying |
|---|
| 3 | 4 | * serio port. Closely emulates behavior of pre-2.6 /dev/psaux device |
|---|
| 4 | 5 | * |
|---|
| 5 | 6 | * 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. |
|---|
| 10 | 7 | */ |
|---|
| 11 | 8 | |
|---|
| 12 | 9 | #include <linux/kref.h> |
|---|
| .. | .. |
|---|
| 162 | 159 | { |
|---|
| 163 | 160 | struct serio_raw_client *client = file->private_data; |
|---|
| 164 | 161 | struct serio_raw *serio_raw = client->serio_raw; |
|---|
| 165 | | - char uninitialized_var(c); |
|---|
| 162 | + char c; |
|---|
| 166 | 163 | ssize_t read = 0; |
|---|
| 167 | 164 | int error; |
|---|
| 168 | 165 | |
|---|