[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-id: <2581869.RWDtV5qma6@amdc3058>
Date: Wed, 12 Jul 2017 18:31:21 +0200
From: Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>
To: Arnd Bergmann <arnd@...db.de>
Cc: "Gustavo A. R. Silva" <garsilva@...eddedor.com>,
linux-fbdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] atyfb: hide unused variable
On Monday, July 10, 2017 01:12:46 PM Arnd Bergmann wrote:
> The vdisplay variable is now only accessed inside of an #ifdef, producing
> a harmless warning:
>
> drivers/video/fbdev/aty/atyfb_base.c: In function 'aty_var_to_crtc':
> drivers/video/fbdev/aty/atyfb_base.c:805:19: error: unused variable 'vdisplay' [-Werror=unused-variable]
>
> This moves the declaration into the ifdef as well.
>
> Fixes: dd7d958ae912 ("video: fbdev: aty: remove useless variable assignments in aty_var_to_crtc()")
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
Patch queued for 4.13, thanks.
Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
Powered by blists - more mailing lists