[Top] [All Lists]

Re: [PATCH 1/3] [MIPS] mipssim: remove unused code

To: Dmitri Vorobiev <>
Subject: Re: [PATCH 1/3] [MIPS] mipssim: remove unused code
From: Ralf Baechle <>
Date: Sat, 5 Dec 2009 10:41:58 +0000
In-reply-to: <>
Original-recipient: rfc822;
References: <> <>
User-agent: Mutt/1.5.20 (2009-08-17)
On Wed, Oct 14, 2009 at 10:02:17PM +0300, Dmitri Vorobiev wrote:

> The function prom_init_cmdline() doesn't do anything, and nobody calls
> the prom_getcmdline() function. Since these two are the only functions
> in the file arch/mips/mipssim/sim_cmdline.c, the whole file can be
> removed now along with the call to the no-op prom_init_cmdline()
> routine.
> Signed-off-by: Dmitri Vorobiev <>

And obviously not compile tested:

  CC      arch/mips/mipssim/sim_int.o
make[3]: *** No rule to make target `arch/mips/mipssim/sim_cmdline.o', needed 
by `arch/mips/mipssim/built-in.o'.  Stop.
make[2]: *** [arch/mips/mipssim] Error 2
make[1]: *** [sub-make] Error 2
make: *** [all] Error 2


<Prev in Thread] Current Thread [Next in Thread>