summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2020-04-27 17:19:30 -0700
committerRosen Penev <rosenp@gmail.com>2020-08-27 07:15:28 +0000
commitcd8bde522f4f525bf32e62385b51059d03043ead (patch)
tree19548a9a95cb2def72aed1478a54fe408e994c3e
parentfd6c9b8ca0ec0791c9aca11314bcb39f9c08555b (diff)
libevdev: remove pointless return in void function
Found with clang-tidy's readability-redundant-control-flow Signed-off-by: Rosen Penev <rosenp@gmail.com>
-rw-r--r--tools/touchpad-edge-detector.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/touchpad-edge-detector.c b/tools/touchpad-edge-detector.c
index 2e0c9fe..1fc5489 100644
--- a/tools/touchpad-edge-detector.c
+++ b/tools/touchpad-edge-detector.c
@@ -170,8 +170,6 @@ dmi_matchstr(struct libevdev *dev, char *match, size_t sz)
modalias[strlen(modalias) - 1] = '\0'; /* drop \n */
snprintf(match, sz, "name:%s:%s", libevdev_get_name(dev), modalias);
-
- return;
}
static void