projects
/
platform
/
upstream
/
libevdev.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd6c9b8
)
libevdev: remove pointless return in void function
author
Rosen Penev
<rosenp@gmail.com>
Tue, 28 Apr 2020 00:19:30 +0000
(17:19 -0700)
committer
Rosen Penev
<rosenp@gmail.com>
Thu, 27 Aug 2020 07:15:28 +0000
(07:15 +0000)
Found with clang-tidy's readability-redundant-control-flow
Signed-off-by: Rosen Penev <rosenp@gmail.com>
tools/touchpad-edge-detector.c
patch
|
blob
|
history
diff --git
a/tools/touchpad-edge-detector.c
b/tools/touchpad-edge-detector.c
index 2e0c9fe982d5660aa4697086c415970bdd8dceb7..1fc5489af30a64fed3fb10c0b17a914ac5f1f7fc 100644
(file)
--- 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