* [PATCH 1/2] [NET] core/utils.c: digit2bin is dead static inline
@ 2008-01-12 11:53 Ilpo Järvinen
2008-01-12 11:53 ` [PATCH 2/2] [HTB]: htb_classid " Ilpo Järvinen
2008-01-13 5:28 ` [PATCH 1/2] [NET] core/utils.c: digit2bin " David Miller
0 siblings, 2 replies; 4+ messages in thread
From: Ilpo Järvinen @ 2008-01-12 11:53 UTC (permalink / raw)
To: David Miller; +Cc: netdev
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
---
net/core/utils.c | 11 -----------
1 files changed, 0 insertions(+), 11 deletions(-)
diff --git a/net/core/utils.c b/net/core/utils.c
index 34459c4..8031eb5 100644
--- a/net/core/utils.c
+++ b/net/core/utils.c
@@ -91,17 +91,6 @@ EXPORT_SYMBOL(in_aton);
#define IN6PTON_NULL 0x20000000 /* first/tail */
#define IN6PTON_UNKNOWN 0x40000000
-static inline int digit2bin(char c, int delim)
-{
- if (c == delim || c == '\0')
- return IN6PTON_DELIM;
- if (c == '.')
- return IN6PTON_DOT;
- if (c >= '0' && c <= '9')
- return (IN6PTON_DIGIT | (c - '0'));
- return IN6PTON_UNKNOWN;
-}
-
static inline int xdigit2bin(char c, int delim)
{
if (c == delim || c == '\0')
--
1.5.0.6
^ permalink raw reply related [flat|nested] 4+ messages in thread* [PATCH 2/2] [HTB]: htb_classid is dead static inline
2008-01-12 11:53 [PATCH 1/2] [NET] core/utils.c: digit2bin is dead static inline Ilpo Järvinen
@ 2008-01-12 11:53 ` Ilpo Järvinen
2008-01-13 5:29 ` David Miller
2008-01-13 5:28 ` [PATCH 1/2] [NET] core/utils.c: digit2bin " David Miller
1 sibling, 1 reply; 4+ messages in thread
From: Ilpo Järvinen @ 2008-01-12 11:53 UTC (permalink / raw)
To: David Miller; +Cc: netdev
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
---
net/sched/sch_htb.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/net/sched/sch_htb.c b/net/sched/sch_htb.c
index 72beb66..6a2352c 100644
--- a/net/sched/sch_htb.c
+++ b/net/sched/sch_htb.c
@@ -214,10 +214,6 @@ static inline struct htb_class *htb_find(u32 handle, struct Qdisc *sch)
* then finish and return direct queue.
*/
#define HTB_DIRECT (struct htb_class*)-1
-static inline u32 htb_classid(struct htb_class *cl)
-{
- return (cl && cl != HTB_DIRECT) ? cl->classid : TC_H_UNSPEC;
-}
static struct htb_class *htb_classify(struct sk_buff *skb, struct Qdisc *sch,
int *qerr)
--
1.5.0.6
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH 1/2] [NET] core/utils.c: digit2bin is dead static inline
2008-01-12 11:53 [PATCH 1/2] [NET] core/utils.c: digit2bin is dead static inline Ilpo Järvinen
2008-01-12 11:53 ` [PATCH 2/2] [HTB]: htb_classid " Ilpo Järvinen
@ 2008-01-13 5:28 ` David Miller
1 sibling, 0 replies; 4+ messages in thread
From: David Miller @ 2008-01-13 5:28 UTC (permalink / raw)
To: ilpo.jarvinen; +Cc: netdev
From: "Ilpo_Järvinen" <ilpo.jarvinen@helsinki.fi>
Date: Sat, 12 Jan 2008 13:53:35 +0200
> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Applied.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-01-13 5:29 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-12 11:53 [PATCH 1/2] [NET] core/utils.c: digit2bin is dead static inline Ilpo Järvinen
2008-01-12 11:53 ` [PATCH 2/2] [HTB]: htb_classid " Ilpo Järvinen
2008-01-13 5:29 ` David Miller
2008-01-13 5:28 ` [PATCH 1/2] [NET] core/utils.c: digit2bin " David Miller
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).