Re: [patch] 2.6.9-rc1-mm2: char/pcxx.c doesn't compile
From: Jesper Juhl (juhl-lkml_at_dif.dk)
Date: 08/31/04
- Previous message: ismail dönmez: "Re: K3b and 2.6.9?"
- In reply to: Adrian Bunk: "[patch] 2.6.9-rc1-mm2: char/pcxx.c doesn't compile"
- Next in thread: Adrian Bunk: "Re: [patch] 2.6.9-rc1-mm2: char/pcxx.c doesn't compile"
- Reply: Adrian Bunk: "Re: [patch] 2.6.9-rc1-mm2: char/pcxx.c doesn't compile"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 31 Aug 2004 22:18:10 +0200 (CEST) To: Adrian Bunk <bunk@fs.tum.de>
On Tue, 31 Aug 2004, Adrian Bunk wrote:
> static void pcxxpoll(unsigned long dummy)
> {
> @@ -1995,6 +1982,7 @@
> volatile struct board_chan *bc;
> unsigned long flags;
> int mflag = 0;
> + int mstat;
>
> if(ch)
> bc = ch->brdchan;
> @@ -2069,6 +2057,7 @@
> pcxxparam(tty,ch);
> memoff(ch);
> restore_flags(flags);
> + return 0;
> }
since pcxxpoll is declared with a void return, return 0; here seems
pointless. A simple return; or just falling off the end of the function
should be fine as far as I can see.
-- Jesper Juhl <juhl-lkml@dif.dk> - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Previous message: ismail dönmez: "Re: K3b and 2.6.9?"
- In reply to: Adrian Bunk: "[patch] 2.6.9-rc1-mm2: char/pcxx.c doesn't compile"
- Next in thread: Adrian Bunk: "Re: [patch] 2.6.9-rc1-mm2: char/pcxx.c doesn't compile"
- Reply: Adrian Bunk: "Re: [patch] 2.6.9-rc1-mm2: char/pcxx.c doesn't compile"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|