[linux-next] KVM: x86/xen: Remove unneeded semicolon

Message ID 202212191432274558936@zte.com.cn
State New
Headers
Series [linux-next] KVM: x86/xen: Remove unneeded semicolon |

Commit Message

zhang.songyi@zte.com.cn Dec. 19, 2022, 6:32 a.m. UTC
  From: zhang songyi <zhang.songyi@zte.com.cn>

The semicolon after the "}" is unneeded.

Signed-off-by: zhang songyi <zhang.songyi@zte.com.cn>
---
 tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Sean Christopherson Jan. 19, 2023, 9:01 p.m. UTC | #1
On Mon, 19 Dec 2022 14:32:27 +0800, zhang.songyi@zte.com.cn wrote:
> The semicolon after the "}" is unneeded.
> 
> 

Applied to kvm-x86 selftests, thanks!

[1/1] KVM: x86/xen: Remove unneeded semicolon
      https://github.com/kvm-x86/linux/commit/c3d538f9145c

--
https://github.com/kvm-x86/linux/tree/next
https://github.com/kvm-x86/linux/tree/fixes
  

Patch

diff --git a/tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c b/tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c
index 721f6a693799..3e6ac82eba15 100644
--- a/tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c
+++ b/tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c
@@ -426,7 +426,7 @@  static void *juggle_shinfo_state(void *arg)
 		__vm_ioctl(vm, KVM_XEN_HVM_SET_ATTR, &cache_init);
 		__vm_ioctl(vm, KVM_XEN_HVM_SET_ATTR, &cache_destroy);
 		pthread_testcancel();
-	};
+	}

 	return NULL;
 }