pmaports/device/downstream/linux-samsung-a32/02_remove_duplicate_set_selection.patch
Luca Weiss a45ad4b1b1
device/testing/*: split downstream ports into new downstream category
[ci:skip-build] # way too many packages changed
[ci:skip-vercheck] # just moving

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6519
2025-05-22 15:43:23 -07:00

23 lines
695 B
Diff

diff --git a/drivers/tty/vt/selection.c b/drivers/tty/vt/selection.c
index 8d7ab8809..499139552 100644
--- a/drivers/tty/vt/selection.c
+++ b/drivers/tty/vt/selection.c
@@ -348,8 +348,8 @@ int set_selection(const struct tiocl_selection __user *v, struct tty_struct *tty
return ret;
}
-int set_selection(const struct tiocl_selection __user *v,
- struct tty_struct *tty)
+/*
+int set_selection(const struct tiocl_selection __user *v, struct tty_struct *tty)
{
int ret;
@@ -359,6 +359,7 @@ int set_selection(const struct tiocl_selection __user *v,
return ret;
}
+*/
/* Insert the contents of the selection buffer into the
* queue of the tty associated with the current console.