Cleaning up unrequired #include(s)

Cleaning up unrequired #include(s)

am 06.03.2007 08:29:53 von Rajat Jain

Hi list,

I just finished porting the kernel to my board and am trying to
cleanup my code. I had started my copying an existing board code and
modifying it to suit my board. Its now working fine, but has numerous
#includes which I do not think I need any more.

Is there a quickway to correctly identify which all #include
statements can be safely removed from my source files, (because none
of the symbols declared in the corresponding headers are actually used
in my source)?

Thanks,

Rajat

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@nl.linux.org
Please read the FAQ at http://kernelnewbies.org/FAQ