# Re: \[PATCH 2/2 v2\] fb: fix atyfb unused data warnings

- From: Tomi Valkeinen \<hidden\>
- Date: 2013-06-26 12:16:37 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2013/06/4073550
- Thread: https://ratatoskr.run/linux-fbdev/2013/06/4069878/t.md

```text
On 24/06/13 20:54, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@infradead.org>
> 
> Fix compiler warnings of data defined but not used by using the
> __maybe_unused attribute.  The date are only used with certain kconfig
> settings.
> 
> drivers/video/aty/atyfb_base.c:534:13: warning: 'ram_dram' defined but not used [-Wunused-variable]
> drivers/video/aty/atyfb_base.c:535:13: warning: 'ram_resv' defined but not used [-Wunused-variable]
> 

I've added this and the first patch in the series to my fbdev-3.11 branch.

 Tomi


```

## Attachments

- [signature.asc](https://ratatoskr.run/linux-fbdev/2013/06/4073550/attachment/0) (application/pgp-signature, 901 bytes)
