timer: remove unnecessary dependency on likely
authorEric Wong <normalperson@yhbt.net>
Fri, 8 Jun 2018 02:45:42 +0000 (02:45 +0000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 12 Jun 2018 02:28:51 +0000 (12:28 +1000)
I don't see likely/unlikely being used by ccan/timer or any of its
dependencies right now.

Running `tools/ccanlint/ccanlint ccan/timer' reveals no regressions

Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
ccan/timer/_info
ccan/timer/timer.c

index 9f5ec7a22809efa6de4d3806820f1b1ed78b2485..d76a7e670cf1d21e19d93ac9d4f0cbabef03e4f1 100644 (file)
@@ -70,7 +70,6 @@ int main(int argc, char *argv[])
        if (strcmp(argv[1], "depends") == 0) {
                printf("ccan/array_size\n");
                printf("ccan/ilog\n");
-               printf("ccan/likely\n");
                printf("ccan/list\n");
                printf("ccan/time\n");
                return 0;
index 91f46393958acef5b6e9dc10968f14344b35ab5d..84d7aa1454a24383fd0aff6e635d3bfe1d073cbc 100644 (file)
@@ -2,7 +2,6 @@
 #include <ccan/timer/timer.h>
 #include <ccan/array_size/array_size.h>
 #include <ccan/ilog/ilog.h>
-#include <ccan/likely/likely.h>
 #include <stdlib.h>
 #include <stdio.h>