treewide: remove unnessary "coding" header

The "-*- coding: utf-8 -*-" header was needed in Python 2,
but in Python 3 UTF-8 is already the default encoding of
source files.

It is even less necessary in .css files that do not have UTF-8
sequences at all.

Suggested-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-ID: <20250929154938.594389-4-pbonzini@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
Paolo Bonzini 2025-09-29 17:49:25 +02:00 committed by Stefan Hajnoczi
parent 4c2f770f67
commit 20b92da6db
36 changed files with 1 additions and 61 deletions

View file

@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
#
# QEMU documentation build configuration file, created by
# sphinx-quickstart on Thu Jan 31 16:40:14 2019.
#

View file

@ -1,5 +1,4 @@
/* -*- coding: utf-8; mode: css -*-
*
/*
* Sphinx HTML theme customization: read the doc
* Based on Linux Documentation/sphinx-static/theme_overrides.css
*/

View file

@ -1,5 +1,4 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Analyse lock events and compute statistics
#

View file

@ -1,5 +1,4 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import os
import sys

View file

@ -1,5 +1,4 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import os
import sys

View file

@ -1,5 +1,4 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
This takes a crashing qtest trace and tries to remove superfluous operations

View file

@ -1,5 +1,4 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Convert plain qtest traces to C or Bash reproducers

View file

@ -1,5 +1,4 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Use this to convert qtest log info from a generic fuzzer input into a qtest

View file

@ -1,5 +1,4 @@
#!/usr/bin/env python3
# coding: utf-8
#
# Probe gdb for supported architectures.
#

View file

@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
#
# Copyright (c) 2017-2019 Red Hat Inc.
#
# Authors:

View file

@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
#
# Copyright IBM, Corp. 2011
# Copyright (c) 2013-2021 Red Hat Inc.
#

View file

@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
#
# QAPI code generation
#
# Copyright (c) 2015-2019 Red Hat Inc.

View file

@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
#
# QAPI schema parser
#
# Copyright IBM, Corp. 2011

View file

@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
#
# QAPI schema internal representation
#
# Copyright (c) 2015-2019 Red Hat Inc.

View file

@ -1,5 +1,4 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Extract QEMU Plugin API symbols from a header file
#

View file

@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
#
# GDB debugging support, TCG status
#
# Copyright 2016 Linaro Ltd

View file

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# GDB debugging support
#
# Copyright 2017 Linaro Ltd

View file

@ -1,5 +1,4 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Dump the contents of a recorded execution stream
#

View file

@ -1,5 +1,4 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Command-line wrapper for the tracetool machinery.

View file

@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""
Machinery for generating tracing-related intermediate files.
"""

View file

@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""
Backend management.

View file

@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""
DTrace/SystemTAP backend.
"""

View file

@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""
Ftrace built-in backend.
"""

View file

@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""
Stderr built-in backend.
"""

View file

@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""
Simple built-in backend.
"""

View file

@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""
Syslog built-in backend.
"""

View file

@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""
LTTng User Space Tracing backend.
"""

View file

@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""
Format management.

View file

@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""
trace/generated-tracers.c
"""

View file

@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""
trace/generated-tracers.dtrace (DTrace only).
"""

View file

@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""
trace/generated-tracers.h
"""

View file

@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""
Generate .stp file that printfs log messages (DTrace with SystemTAP only).
"""

View file

@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""
Generate .stp file that outputs simpletrace binary traces (DTrace with SystemTAP only).
"""

View file

@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""
Generate .stp file (DTrace with SystemTAP only).
"""

View file

@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""
trace/generated-ust.c
"""

View file

@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""
trace/generated-ust-provider.h
"""