Commit 880396c8 authored by Tom Rix's avatar Tom Rix Committed by Borislav Petkov

x86/microcode/amd: Remove unneeded break

A break is not needed if it is preceded by a return.
Signed-off-by: default avatarTom Rix <trix@redhat.com>
Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20201019200629.17247-1-trix@redhat.com
parent 3650b228
......@@ -215,7 +215,6 @@ static unsigned int __verify_patch_size(u8 family, u32 sh_psize, size_t buf_size
default:
WARN(1, "%s: WTF family: 0x%x\n", __func__, family);
return 0;
break;
}
if (sh_psize > min_t(u32, buf_size, max_size))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment