Commit 68d90d5
tty: n_tty: use 'num' for writes' counts
We have a separate misnomer 'c' to hold the retuned value from
tty->ops->write(). Instead, use 'num' already defined on another place
(and already properly typed).
Signed-off-by: "Jiri Slaby (SUSE)" <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20230827074147.2287-4-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent d414034 commit 68d90d5
1 file changed
Lines changed: 8 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2335 | 2335 | | |
2336 | 2336 | | |
2337 | 2337 | | |
2338 | | - | |
2339 | | - | |
| 2338 | + | |
2340 | 2339 | | |
2341 | 2340 | | |
2342 | 2341 | | |
| |||
2362 | 2361 | | |
2363 | 2362 | | |
2364 | 2363 | | |
2365 | | - | |
| 2364 | + | |
2366 | 2365 | | |
2367 | 2366 | | |
2368 | 2367 | | |
| |||
2384 | 2383 | | |
2385 | 2384 | | |
2386 | 2385 | | |
2387 | | - | |
| 2386 | + | |
2388 | 2387 | | |
2389 | | - | |
2390 | | - | |
| 2388 | + | |
| 2389 | + | |
2391 | 2390 | | |
2392 | 2391 | | |
2393 | | - | |
| 2392 | + | |
2394 | 2393 | | |
2395 | | - | |
2396 | | - | |
| 2394 | + | |
| 2395 | + | |
2397 | 2396 | | |
2398 | 2397 | | |
2399 | 2398 | | |
| |||
0 commit comments