I did a partial audit of #include directives in headers and source
files.  This series removes some unnecessary #includes.

(Sometimes, when header A #includes header B, but A does not use
anything from B, there still can be some source file C that includes
A and expects everything frmo B to be available.  So, some of these
patches that remove #includes also have to add new #includes
elsewhere.)

Ben Pfaff (11):
  ofp-util: Remove unneeded #includes.
  ofp-parse: Remove unneeded #includes.
  ofp-print: Remove unneeded #includes.
  vlog: Remove unneeded #includes.
  ofp-parse: Remove unneeded #include.
  ofpbuf: Remove unneeded #includes.
  meta-flow: Remove unneeded #includes.
  bundle: Remove unneeded #include.
  nx-match: Remove unneeded #includes.
  Remove unneeded inclusions of classifier.h.
  Remove unneeded inclusions of util.h.

 lib/bundle.c          |    1 -
 lib/dynamic-string.c  |    1 -
 lib/entropy.c         |    4 +++-
 lib/hash.c            |    1 +
 lib/hash.h            |    1 -
 lib/leak-checker.c    |    3 ++-
 lib/learn.c           |    4 +++-
 lib/learning-switch.c |    3 +--
 lib/meta-flow.c       |    4 +---
 lib/nx-match.c        |    5 +----
 lib/ofp-msgs.h        |    1 -
 lib/ofp-parse.c       |    5 +----
 lib/ofp-print.c       |    9 ---------
 lib/ofp-print.h       |    4 +---
 lib/ofp-util.c        |   14 ++------------
 lib/ofp-util.h        |    5 +----
 lib/ofpbuf.c          |    1 -
 lib/ofpbuf.h          |    2 --
 lib/stream-provider.h |    1 +
 lib/unaligned.h       |    3 +--
 lib/vlog.c            |    2 --
 lib/vlog.h            |    2 --
 ofproto/connmgr.h     |    1 -
 ofproto/fail-open.c   |    3 +--
 ofproto/in-band.c     |    3 +--
 tests/test-flows.c    |    3 +--
 vswitchd/xenserver.c  |    3 ++-
 27 files changed, 24 insertions(+), 65 deletions(-)

-- 
1.7.10.4

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to