public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
From: "Rajat Jain" <rajat.noida.india@gmail.com>
To: Kernel Newbies <kernelnewbies@nl.linux.org>,
	newbie <linux-newbie@vger.kernel.org>
Subject: Cleaning up unrequired #include(s)
Date: Tue, 6 Mar 2007 12:59:53 +0530	[thread overview]
Message-ID: <b115cb5f0703052329w1c0730ccs63cf46d06435669c@mail.gmail.com> (raw)

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


                 reply	other threads:[~2007-03-06  7:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b115cb5f0703052329w1c0730ccs63cf46d06435669c@mail.gmail.com \
    --to=rajat.noida.india@gmail.com \
    --cc=kernelnewbies@nl.linux.org \
    --cc=linux-newbie@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox