diff options
| author | Jiri Slaby <[email protected]> | 2022-06-07 12:49:45 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-06-10 13:37:03 +0200 |
| commit | fc440658346e1bff9b6661467f55856d1df1cdb2 (patch) | |
| tree | 4de3449f418184428255875402673823a21a7fc7 /include/linux | |
| parent | 63c4f92fcca3f077de1d9d1a99a690f5ea381e58 (diff) | |
tty/vt: consolemap: use con_allocate_new() in con_unshare_unimap()
The old->refcount is guaranteed to be > 1, so we can directly call
con_allocate_new() to make the code more obvious.
Signed-off-by: Jiri Slaby <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions