Unreferenced config in kernel (libata-sff.c) source (NO_ATA_LEGACY)

Christoph Egger
2010-01-20T14:29:25Z

Hi all!

As part of the VAMOS[0] research project at the University of
Erlangen we're checking referential integrity between kernel KConfig
options and in-code Conditional blocks.

./drivers/ata/libata-sff.c:2948:#if defined(CONFIG_NO_ATA_LEGACY)

That's the only place where it is checked for
NO_ATA_LEGACY. As this Item does appear nowhere in KConfig and
therefor is not selectable I'm wondering whether that small Code
fragment should be dropped or a new KConfig option should be added?

Please keep me informed of this patch getting confirmed /
merged so we can keep track of it.

Regards

Christoph Egger