ata: unused but set warnings with GCC 5.X
In ata_init_pm there are two variables (pmc_name and pmc) with are only used when ATA_USE_AUTOPM is defined.
In sil3xxx_init_controller there are is one variable (sfiscfg_val) which is only used when ATA_DEBUG is defined.
Updated by Electric Monk over 4 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit 6e6c7d67bf5ba2efa13619acd59395d0f278ee75 Author: Andrew Stormont <email@example.com> Date: 2018-03-11T06:32:26.000Z 8659 ata: unused but set warnings with GCC 5.X Reviewed by: Ken Mays <firstname.lastname@example.org> Reviewed by: Yuri Pankov <email@example.com> Reviewed by: Toomas Soome <firstname.lastname@example.org> Approved by: Joshua M. Clulow <email@example.com>