summaryrefslogtreecommitdiff
path: root/arch/nds32/kernel/cacheinfo.c
diff options
context:
space:
mode:
authorYang Wei <yang.wei9@zte.com.cn>2019-03-04 22:33:28 +0800
committerGreentime Hu <greentime@andestech.com>2019-05-07 17:52:10 +0800
commit0fcef555abdc155dbd2cba24ac1a0dd508e8dc70 (patch)
treeaced8b34cb2b2e1cd30825e740c393c4c3ee4430 /arch/nds32/kernel/cacheinfo.c
parent95b6204dbf703f2b6da27cec4c8280f43da8977d (diff)
nds32: fix semicolon code style issue
Delete superfluous semicolons. Signed-off-by: Yang Wei <yang.wei9@zte.com.cn> Acked-by: Greentime Hu <greentime@andestech.com> Signed-off-by: Greentime Hu <greentime@andestech.com>
Diffstat (limited to 'arch/nds32/kernel/cacheinfo.c')
-rw-r--r--arch/nds32/kernel/cacheinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/nds32/kernel/cacheinfo.c b/arch/nds32/kernel/cacheinfo.c
index 0a7bc696dd55..aab98e447feb 100644
--- a/arch/nds32/kernel/cacheinfo.c
+++ b/arch/nds32/kernel/cacheinfo.c
@@ -13,7 +13,7 @@ static void ci_leaf_init(struct cacheinfo *this_leaf,
this_leaf->level = level;
this_leaf->type = type;
this_leaf->coherency_line_size = CACHE_LINE_SIZE(cache_type);
- this_leaf->number_of_sets = CACHE_SET(cache_type);;
+ this_leaf->number_of_sets = CACHE_SET(cache_type);
this_leaf->ways_of_associativity = CACHE_WAY(cache_type);
this_leaf->size = this_leaf->number_of_sets *
this_leaf->coherency_line_size * this_leaf->ways_of_associativity;