Skip to content

Commit

Permalink
nds32: fix semicolon code style issue
Browse files Browse the repository at this point in the history
Delete superfluous semicolons.

Signed-off-by: Yang Wei <[email protected]>
Acked-by: Greentime Hu <[email protected]>
Signed-off-by: Greentime Hu <[email protected]>
  • Loading branch information
Yang Wei authored and Greentime Hu committed May 7, 2019
1 parent 95b6204 commit 0fcef55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/nds32/kernel/cacheinfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion arch/nds32/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ void __set_fixmap(enum fixed_addresses idx,

BUG_ON(idx <= FIX_HOLE || idx >= __end_of_fixed_addresses);

pte = (pte_t *)&fixmap_pmd_p[pte_index(addr)];;
pte = (pte_t *)&fixmap_pmd_p[pte_index(addr)];

if (pgprot_val(flags)) {
set_pte(pte, pfn_pte(phys >> PAGE_SHIFT, flags));
Expand Down

0 comments on commit 0fcef55

Please sign in to comment.