From: Eric Wong <normalperson@yhbt.net>
To: ccan@lists.ozlabs.org
Subject: [PATCH] timer: remove unnecessary dependency on likely
Date: Fri, 8 Jun 2018 02:45:42 +0000 [thread overview]
Message-ID: <20180608024542.dm4s6s4flmsi3jqm@dcvr> (raw)
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>
---
ccan/timer/_info | 1 -
ccan/timer/timer.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/ccan/timer/_info b/ccan/timer/_info
index 9f5ec7a2..d76a7e67 100644
--- a/ccan/timer/_info
+++ b/ccan/timer/_info
@@ -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;
diff --git a/ccan/timer/timer.c b/ccan/timer/timer.c
index 91f46393..84d7aa14 100644
--- a/ccan/timer/timer.c
+++ b/ccan/timer/timer.c
@@ -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>
--
EW
_______________________________________________
ccan mailing list
ccan@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/ccan
next reply other threads:[~2018-06-08 2:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-08 2:45 Eric Wong [this message]
2018-06-12 2:36 ` [PATCH] timer: remove unnecessary dependency on likely David Gibson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180608024542.dm4s6s4flmsi3jqm@dcvr \
--to=normalperson@yhbt.net \
--cc=ccan@lists.ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).