summaryrefslogtreecommitdiff
path: root/udev/udev-builtin-hwdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev/udev-builtin-hwdb.c')
-rw-r--r--udev/udev-builtin-hwdb.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/udev/udev-builtin-hwdb.c b/udev/udev-builtin-hwdb.c
index e38c6b9d26..b6af4b6fcf 100644
--- a/udev/udev-builtin-hwdb.c
+++ b/udev/udev-builtin-hwdb.c
@@ -101,11 +101,6 @@ static int lookup_vid_pid(const char *database,
for (;;) {
size_t n;
- if (line) {
- free(line);
- line = NULL;
- }
-
if (getline(&line, &n, f) < 0)
break;