From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Kern Subject: Re: [PATCH 16/18] atyfb: Remove dead code Date: Sat, 11 Mar 2006 22:19:36 +0100 Message-ID: <200603112219.37374.alex.kern@gmx.de> References: <44122D2F.3080605@gmail.com> Reply-To: linux-fbdev-devel@lists.sourceforge.net Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Return-path: Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FIBTl-0007Hd-1a for linux-fbdev-devel@lists.sourceforge.net; Sat, 11 Mar 2006 13:18:25 -0800 Received: from mail.gmx.net ([213.165.64.20]) by mail.sourceforge.net with smtp (Exim 4.44) id 1FIBTj-0004s9-QF for linux-fbdev-devel@lists.sourceforge.net; Sat, 11 Mar 2006 13:18:25 -0800 In-Reply-To: <44122D2F.3080605@gmail.com> Content-Disposition: inline Sender: linux-fbdev-devel-admin@lists.sourceforge.net Errors-To: linux-fbdev-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Content-Type: text/plain; charset="iso-8859-1" To: "Antonino A. Daplas" Cc: Andrew Morton , Linux Fbdev development list Am Samstag, 11. M=E4rz 2006 02:51 schrieb Antonino A. Daplas: > Remove code that can never be reached. > > Coverity Bug 67 > > Signed-off-by: Antonino Daplas Acked-by: Alexander Kern > --- > > drivers/video/aty/atyfb_base.c | 8 +++++--- > 1 files changed, 5 insertions(+), 3 deletions(-) > > diff --git a/drivers/video/aty/atyfb_base.c > b/drivers/video/aty/atyfb_base.c index 1a5c0f6..c69c336 100644 > --- a/drivers/video/aty/atyfb_base.c > +++ b/drivers/video/aty/atyfb_base.c > @@ -2298,6 +2298,10 @@ static int __init aty_init(struct fb_inf > case CLK_ATI18818_1: > par->pll_ops =3D &aty_pll_ati18818_1; > break; > + case CLK_IBMRGB514: > + par->pll_ops =3D &aty_pll_ibm514; > + break; > +#if 0 /* dead code */ > case CLK_STG1703: > par->pll_ops =3D &aty_pll_stg1703; > break; > @@ -2307,9 +2311,7 @@ static int __init aty_init(struct fb_inf > case CLK_ATT20C408: > par->pll_ops =3D &aty_pll_att20c408; > break; > - case CLK_IBMRGB514: > - par->pll_ops =3D &aty_pll_ibm514; > - break; > +#endif > default: > PRINTKI("aty_init: CLK type not implemented yet!"); > par->pll_ops =3D &aty_pll_unsupported; =2D-=20 Best Wishes Mit freundlichen Gr=FC=DFen Alex Kern ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642