projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c7b13f
)
target: Make unnecessarily global se_dev_align_max_sectors() static
author
Roland Dreier
<roland@purestorage.com>
Mon, 16 Jul 2012 22:17:12 +0000
(15:17 -0700)
committer
Nicholas Bellinger
<nab@linux-iscsi.org>
Tue, 17 Jul 2012 00:35:35 +0000
(17:35 -0700)
Signed-off-by: Roland Dreier <roland@purestorage.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_device.c
patch
|
blob
|
history
diff --git
a/drivers/target/target_core_device.c
b/drivers/target/target_core_device.c
index 0048d0a0b0c1bf04ce089c22465a8a02ff447990..cf2c66f3c11690c81ca23e9fd2ce286e76b56e62 100644
(file)
--- 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;
/*