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 almost 3 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit 6e6c7d67bf5ba2efa13619acd59395d0f278ee75 Author: Andrew Stormont <firstname.lastname@example.org> Date: 2018-03-11T06:32:26.000Z 8659 ata: unused but set warnings with GCC 5.X Reviewed by: Ken Mays <email@example.com> Reviewed by: Yuri Pankov <firstname.lastname@example.org> Reviewed by: Toomas Soome <email@example.com> Approved by: Joshua M. Clulow <firstname.lastname@example.org>