]> Pileus Git - ~andy/linux/blobdiff - arch/x86/kernel/alternative.c
arch/x86: Remove unecessary semicolons
[~andy/linux] / arch / x86 / kernel / alternative.c
index ced4534baed574f7596b014f979748b1eedc2653..3318b1e53e06f8d98d704af7abf68003da0eb802 100644 (file)
@@ -317,7 +317,7 @@ static void alternatives_smp_lock(const s32 *start, const s32 *end,
                /* turn DS segment override prefix into lock prefix */
                if (*ptr == 0x3e)
                        text_poke(ptr, ((unsigned char []){0xf0}), 1);
-       };
+       }
        mutex_unlock(&text_mutex);
 }
 
@@ -338,7 +338,7 @@ static void alternatives_smp_unlock(const s32 *start, const s32 *end,
                /* turn lock prefix into DS segment override prefix */
                if (*ptr == 0xf0)
                        text_poke(ptr, ((unsigned char []){0x3E}), 1);
-       };
+       }
        mutex_unlock(&text_mutex);
 }