Skip to contentSkip to conversation

x86_64/mm: remove extraneous breaks in m2p_mapped

PATCH In review Wei Liu 2 participants 2 messages Aug 15, 2017

lore
Share & tools
lore

Wei Liu

author
#0 lore raw

PATCH 1/1 x86_64/mm: remove extraneous breaks in m2p_mapped

---
 xen/arch/x86/x86_64/mm.c | 2 --
 1 file changed, 2 deletions(-)
xen/arch/x86/x86_64/mm.c +0 -2
index f74c673161..b375ee56e6 100644
@@ -140,13 +140,11 @@ static int m2p_mapped(unsigned long spfn)
     {
         case _PAGE_PSE|_PAGE_PRESENT:
             return M2P_1G_MAPPED;
-            break;
         /* Check for next level */
         case _PAGE_PRESENT:
             break;
         default:
             return M2P_NO_MAPPED;
-            break;
     }
     l2_ro_mpt = l3e_to_l2e(l3_ro_mpt[l3_table_offset(va)]);
 
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel