Skip to contentSkip to conversation

master - cleanup: drop unused headers

PATCH Zdenek Kabelac 1 participant 1 message Jun 15, 2013

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=17a3ddf89e4148b4fdfe32c2da22beff7b1ca465
Commit:        17a3ddf89e4148b4fdfe32c2da22beff7b1ca465
Parent:        02405219424619a56e7e3a3619e157f942e4fdb4
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Fri Jun 14 09:52:02 2013 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Sun Jun 16 00:07:32 2013 +0200

cleanup: drop unused headers

Drop heades which do not provide any used symbols.

---
 lib/activate/activate.c     |    1 -
 lib/activate/dev_manager.c  |    1 -
 lib/cache/lvmcache.c        |    2 --
 lib/device/dev-luks.c       |    1 -
 lib/device/dev-swap.c       |    1 -
 lib/filters/filter.c        |    4 ----
 lib/format1/disk-rep.c      |    1 -
 lib/format1/import-export.c |    1 -
 lib/format_pool/disk_rep.c  |    1 -
 9 files changed, 0 insertions(+), 13 deletions(-)
lib/activate/activate.c +0 -1
index a69b725..342a474 100644
@@ -26,7 +26,6 @@
 #include "dev_manager.h"
 #include "str_list.h"
 #include "config.h"
-#include "filter.h"
 #include "segtype.h"
 #include "sharedlib.h"
 
lib/activate/dev_manager.c +0 -1
index 9855bc9..e471f95 100644
@@ -23,7 +23,6 @@
 #include "toolcontext.h"
 #include "targets.h"
 #include "config.h"
-#include "filter.h"
 #include "activate.h"
 #include "lvm-exec.h"
 
lib/cache/lvmcache.c +0 -2
index c0b3299..2da09d1 100644
@@ -19,8 +19,6 @@
 #include "dev-cache.h"
 #include "locking.h"
 #include "metadata.h"
-#include "filter.h"
-#include "filter-persistent.h"
 #include "memlock.h"
 #include "str_list.h"
 #include "format-text.h"
lib/device/dev-luks.c +0 -1
index 2c79a2b..2671d62 100644
@@ -14,7 +14,6 @@
 
 #include "lib.h"
 #include "dev-type.h"
-#include "metadata.h"
 
 #define LUKS_SIGNATURE "LUKS\xba\xbe"
 #define LUKS_SIGNATURE_SIZE 6
lib/device/dev-swap.c +0 -1
index c3b121b..6faa810 100644
@@ -14,7 +14,6 @@
 
 #include "lib.h"
 #include "dev-type.h"
-#include "metadata.h"
 
 #ifdef linux
 
lib/filters/filter.c +0 -4
index cf06f88..56935f9 100644
@@ -15,10 +15,6 @@
 
 #include "lib.h"
 #include "filter.h"
-#include "lvm-string.h"
-#include "config.h"
-#include "metadata.h"
-#include "activate.h"
 
 static int _passes_lvm_type_device_filter(struct dev_filter *f, struct device *dev)
 {
lib/format1/disk-rep.c +0 -1
index bbce317..f42d344 100644
@@ -16,7 +16,6 @@
 #include "lib.h"
 #include "disk-rep.h"
 #include "xlate.h"
-#include "filter.h"
 #include "lvmcache.h"
 #include "metadata-exported.h"
 
lib/format1/import-export.c +0 -1
index 5c5d890..5ef19ef 100644
@@ -20,7 +20,6 @@
 #include "lib.h"
 #include "disk-rep.h"
 #include "lvm-string.h"
-#include "filter.h"
 #include "toolcontext.h"
 #include "segtype.h"
 #include "pv_alloc.h"
lib/format_pool/disk_rep.c +0 -1
index f696463..fef0451 100644
@@ -17,7 +17,6 @@
 #include "label.h"
 #include "metadata.h"
 #include "lvmcache.h"
-#include "filter.h"
 #include "xlate.h"
 #include "disk_rep.h"
 #include "toolcontext.h"