vt: selection, fix double lock introduced by a merge
authorJiri Slaby <jslaby@suse.cz>
Mon, 16 Mar 2020 06:45:44 +0000 (07:45 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Mar 2020 07:39:47 +0000 (08:39 +0100)
commit5b30dee6cc07fd91eedcb3a1ba1b81af8512c011
tree3fcf50a7d98dc78d9751902d786d71cc0f7864f0
parentd49e7953f9b9f5e50c12dda95f4041fb877cdc71
vt: selection, fix double lock introduced by a merge

The merge commit cb05c6c82fb0 (Merge 5.6-rc5 into tty-next) introduced a
double lock to set_selection_kernel. vc_sel.lock is locked both in
set_selection_kernel and its callee __set_selection_kernel now.

Remove the latter.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Link: https://lore.kernel.org/r/20200316064544.4799-1-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/vt/selection.c