2005-09-29 00:34:50

by Grant Coady

[permalink] [raw]
Subject: [PATCHv3 00/04] pci_ids: cleanup and removal of unused symbols

Greetings,

This series of patches cleans up pci_ids.h and removes unused
symbols:

01/04 remove duplicates and replace indirect assignments with value

02/04 replace source macro constructed symbols with whole symbols

03/04 remove unused symbols from pci_ids.h, those not referenced
nor defined in the source

04/04 whitespace - get rid of the space / tab mix and fix some cpp
style comments

Information about this process will appear on:
http://bugsplatter.mine.nu/kernel/pci_ids/

Current statistics, taken after patches 1 and 2 over 2.6.14-rc2-git7,
the figures are file line counts:

2306 symbols-pci_ids.h-define
0 symbols-pci_ids.h-dups <<== after patch 1
2042 symbols-pci_ids.h-new
2701 symbols-pci_ids.h-orig
659 symbols-source-absent <<== removal hitlist
0 symbols-source-alias-syms
929 symbols-source-all-singles
460 symbols-source-all-singles-files
1916 symbols-source-define <<== includes local work symbols
103 symbols-source-define-files
1184 symbols-source-files-include-pci.h
29 symbols-source-files-include-pci_ids.h
142 symbols-source-ifndef
49 symbols-source-ifndef-files
0 symbols-source-macro <<== after patch 2
0 symbols-source-macro-files
1647 symbols-source-present

Some numbers above rubbery until info used and compile tested.

Test: compile test with 'make allmodconfig', no PCI_* undefined errors.

Plans: Perhaps remove that #ifndef construct from 49 files...

Thanks,
Grant.