summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorVasily Averin <vvs@sw.ru>2008-02-08 02:10:01 +0000
committerAlasdair G Kergon <agk@redhat.com>2008-02-08 02:10:01 +0000
commit4f41b09f86e0e3b48194b2ad0356391bf6d47e40 (patch)
tree49e28b85c4fabcd464ebf3e0f7431ca92406a8a2 /include
parentafb24528f9012e5c6361ca9a9128c7c089c1cc7c (diff)
downloadop-kernel-dev-4f41b09f86e0e3b48194b2ad0356391bf6d47e40.zip
op-kernel-dev-4f41b09f86e0e3b48194b2ad0356391bf6d47e40.tar.gz
dm: table remove unused variable
Save some bytes. Signed-off-by: Vasily Averin <vvs@sw.ru> Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/device-mapper.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/include/linux/device-mapper.h b/include/linux/device-mapper.h
index e765e19..cb78457 100644
--- a/include/linux/device-mapper.h
+++ b/include/linux/device-mapper.h
@@ -110,15 +110,15 @@ struct target_type {
};
struct io_restrictions {
- unsigned int max_sectors;
- unsigned short max_phys_segments;
- unsigned short max_hw_segments;
- unsigned short hardsect_size;
- unsigned int max_segment_size;
- unsigned int max_hw_sectors;
- unsigned long seg_boundary_mask;
- unsigned long bounce_pfn;
- unsigned char no_cluster; /* inverted so that 0 is default */
+ unsigned long bounce_pfn;
+ unsigned long seg_boundary_mask;
+ unsigned max_hw_sectors;
+ unsigned max_sectors;
+ unsigned max_segment_size;
+ unsigned short hardsect_size;
+ unsigned short max_hw_segments;
+ unsigned short max_phys_segments;
+ unsigned char no_cluster; /* inverted so that 0 is default */
};
struct dm_target {
OpenPOWER on IntegriCloud