* [KJ] [PATCH] cris: kgdb: remove double_this()
@ 2005-10-05 20:45 Alexey Dobriyan
2005-10-06 18:32 ` Ricardo Nabinger Sanchez
2005-10-06 18:46 ` Felipe W Damasio
0 siblings, 2 replies; 3+ messages in thread
From: Alexey Dobriyan @ 2005-10-05 20:45 UTC (permalink / raw)
To: kernel-janitors
[-- Attachment #1: Type: text/plain, Size: 617 bytes --]
* Doesn't have C&C warning.
* Unused.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---
arch/cris/arch-v10/kernel/kgdb.c | 6 ------
1 file changed, 6 deletions(-)
--- ./arch/cris/arch-v10/kernel/kgdb.c
+++ ./arch/cris/arch-v10/kernel/kgdb.c
@@ -569,12 +569,6 @@ gdb_cris_strtol (const char *s, char **e
return x;
}
-int
-double_this(int x)
-{
- return 2 * x;
-}
-
/********************************* Register image ****************************/
/* Copy the content of a register image into another. The size n is
the size of the register image. Due to struct assignment generation of
[-- Attachment #2: Type: text/plain, Size: 168 bytes --]
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [KJ] [PATCH] cris: kgdb: remove double_this()
2005-10-05 20:45 [KJ] [PATCH] cris: kgdb: remove double_this() Alexey Dobriyan
@ 2005-10-06 18:32 ` Ricardo Nabinger Sanchez
2005-10-06 18:46 ` Felipe W Damasio
1 sibling, 0 replies; 3+ messages in thread
From: Ricardo Nabinger Sanchez @ 2005-10-06 18:32 UTC (permalink / raw)
To: kernel-janitors
[-- Attachment #1: Type: text/plain, Size: 371 bytes --]
Quoting Alexey Dobriyan <adobriyan@gmail.com>
Sent on Thu, 6 Oct 2005 00:45:41 +0400
Hello,
> -int
> -double_this(int x)
> -{
> - return 2 * x;
> -}
I'm wondering why this "2*x" wrapper was ever made.
--
Ricardo Nabinger Sanchez
GNU/Linux #140696 [http://counter.li.org]
Slackware Linux + FreeBSD
Left to themselves, things tend to go from bad to worse.
[-- Attachment #2: Type: text/plain, Size: 168 bytes --]
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [KJ] [PATCH] cris: kgdb: remove double_this()
2005-10-05 20:45 [KJ] [PATCH] cris: kgdb: remove double_this() Alexey Dobriyan
2005-10-06 18:32 ` Ricardo Nabinger Sanchez
@ 2005-10-06 18:46 ` Felipe W Damasio
1 sibling, 0 replies; 3+ messages in thread
From: Felipe W Damasio @ 2005-10-06 18:46 UTC (permalink / raw)
To: kernel-janitors
Hi,
Or better yet, even if it is actually necessary, why wasn't it made
inline.
Or even a define.
Or...yeah, why was it made in the first place? :-)
Cheers,
Felipe Damasio
Ricardo Nabinger Sanchez wrote:
>Quoting Alexey Dobriyan <adobriyan@gmail.com>
>Sent on Thu, 6 Oct 2005 00:45:41 +0400
>
>Hello,
>
>
>
>>-int
>>-double_this(int x)
>>-{
>>- return 2 * x;
>>-}
>>
>>
>
>I'm wondering why this "2*x" wrapper was ever made.
>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Kernel-janitors mailing list
>Kernel-janitors@lists.osdl.org
>https://lists.osdl.org/mailman/listinfo/kernel-janitors
>
>
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-10-06 18:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-05 20:45 [KJ] [PATCH] cris: kgdb: remove double_this() Alexey Dobriyan
2005-10-06 18:32 ` Ricardo Nabinger Sanchez
2005-10-06 18:46 ` Felipe W Damasio
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.