accel/tcg/icount-common: Consolidate the use of warn_report_once()
authorZhao Liu <zhao1.liu@intel.com>
Thu, 18 Apr 2024 10:07:16 +0000 (18:07 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 23 Apr 2024 15:35:26 +0000 (17:35 +0200)
commit94da7b6e9ad8da2b0cb2ef86a64d9fa1d6c8320c
tree0352bb1d8dfcba0d57004af785f8a1ae9d99a306
parentaec202cb0eb800049c85428ba31566a9ef634cfc
accel/tcg/icount-common: Consolidate the use of warn_report_once()

Use warn_report_once() to get rid of the static local variable "notified".

Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Message-ID: <20240418100716.1085491-1-zhao1.liu@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
accel/tcg/icount-common.c