diff options
author | Roland Dreier <roland@purestorage.com> | 2012-07-16 18:17:12 -0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2012-07-16 20:35:35 -0400 |
commit | c8045372dd2d4784bc4cb32ddc27f4b88ff2140c (patch) | |
tree | 67f9bda4d43c41b7e434d38f8b949b14b3873e98 /drivers/target | |
parent | 1c7b13fe65269960f63082eafccede547191ab02 (diff) |
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.c | 2 |
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) | |||
841 | return ret; | 841 | return ret; |
842 | } | 842 | } |
843 | 843 | ||
844 | u32 se_dev_align_max_sectors(u32 max_sectors, u32 block_size) | 844 | static u32 se_dev_align_max_sectors(u32 max_sectors, u32 block_size) |
845 | { | 845 | { |
846 | u32 tmp, aligned_max_sectors; | 846 | u32 tmp, aligned_max_sectors; |
847 | /* | 847 | /* |