summaryrefslogtreecommitdiff
path: root/src/locale/localed-util.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-01-28 15:01:38 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-01-28 15:05:55 +0900
commit189cacabe9a8cfb6acf04dd9c9c525fdd88e7294 (patch)
tree799f902599eb9678dd545a85fa775a1b241f5a7c /src/locale/localed-util.c
parentf41338da6e69de3f9baf22ed75545fe2836a03e4 (diff)
downloadsystemd-189cacabe9a8cfb6acf04dd9c9c525fdd88e7294.tar.gz
locale: decouple vconsole_read_data() from x11_read_data()
Let's make library-functions simple and independent as possible as they are. No functional change, just refactoring.
Diffstat (limited to 'src/locale/localed-util.c')
-rw-r--r--src/locale/localed-util.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/locale/localed-util.c b/src/locale/localed-util.c
index 2d5d76e741..54e32e2e1c 100644
--- a/src/locale/localed-util.c
+++ b/src/locale/localed-util.c
@@ -325,10 +325,6 @@ int x11_read_data(Context *c, sd_bus_message *m) {
assert(c);
- r = vconsole_read_data(c, m);
- if (r < 0)
- return r;
-
/* Do not try to re-read the file within single bus operation. */
if (m) {
if (m == c->x11_cache)