summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm.c
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2014-06-03 16:30:28 +0200
committerMike Snitzer <snitzer@redhat.com>2014-06-04 15:46:34 +0200
commit11f0431be2f99c574a65c6dfc0ca205511500f29 (patch)
tree846f5dc90734238e7349b8638c6b1fa6a87da840 /drivers/md/dm.c
parentdm: disable WRITE SAME if it fails (diff)
downloadlinux-11f0431be2f99c574a65c6dfc0ca205511500f29.tar.xz
linux-11f0431be2f99c574a65c6dfc0ca205511500f29.zip
dm: remove symbol export for dm_set_device_limits
There is no need for code other than DM core to use dm_set_device_limits so remove its EXPORT_SYMBOL_GPL. Also, cleanup a couple whitespace nits. Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm.c')
-rw-r--r--drivers/md/dm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/md/dm.c b/drivers/md/dm.c
index 3234a753a80d..bf1a1eaad9a9 100644
--- a/drivers/md/dm.c
+++ b/drivers/md/dm.c
@@ -1498,7 +1498,6 @@ static int dm_merge_bvec(struct request_queue *q,
* just one page.
*/
else if (queue_max_hw_sectors(q) <= PAGE_SIZE >> 9)
-
max_size = 0;
out: