summaryrefslogtreecommitdiff
path: root/drivers/target
diff options
context:
space:
mode:
authorRoland Dreier <roland@purestorage.com>2012-07-17 02:17:12 +0400
committerNicholas Bellinger <nab@linux-iscsi.org>2012-07-17 04:35:35 +0400
commitc8045372dd2d4784bc4cb32ddc27f4b88ff2140c (patch)
tree67f9bda4d43c41b7e434d38f8b949b14b3873e98 /drivers/target
parent1c7b13fe65269960f63082eafccede547191ab02 (diff)
downloadlinux-c8045372dd2d4784bc4cb32ddc27f4b88ff2140c.tar.xz
target: Make unnecessarily global se_dev_align_max_sectors() static
Signed-off-by: Roland Dreier <roland@purestorage.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target')
-rw-r--r--drivers/target/target_core_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/target/target_core_device.c b/drivers/target/target_core_device.c
index 0048d0a0b0c1..cf2c66f3c116 100644
--- a/drivers/target/target_core_device.c
+++ b/drivers/target/target_core_device.c
@@ -841,7 +841,7 @@ int se_dev_check_shutdown(struct se_device *dev)
return ret;
}
-u32 se_dev_align_max_sectors(u32 max_sectors, u32 block_size)
+static u32 se_dev_align_max_sectors(u32 max_sectors, u32 block_size)
{
u32 tmp, aligned_max_sectors;
/*