cxl: Clean up includes
This commit was created with scripts/clean-includes: ./scripts/clean-includes --git cxl hw/cxl hw/mem All .c should include qemu/osdep.h first. The script performs three related cleanups: * Ensure .c files include qemu/osdep.h first. * Including it in a .h is redundant, since the .c already includes it. Drop such inclusions. * Likewise, including headers qemu/osdep.h includes is redundant. Drop these, too. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Acked-by: Jonathan Cameron <jonathan.cameron@huawei.com> Message-id: 20251104160943.751997-8-peter.maydell@linaro.org
This commit is contained in:
parent
032333eba7
commit
2a2527c815
2 changed files with 2 additions and 2 deletions
|
|
@ -7,9 +7,9 @@
|
|||
* COPYING file in the top-level directory.
|
||||
*/
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include <math.h>
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include "hw/pci/msi.h"
|
||||
#include "hw/pci/msix.h"
|
||||
#include "hw/cxl/cxl.h"
|
||||
|
|
|
|||
|
|
@ -8,9 +8,9 @@
|
|||
*
|
||||
* SPDX-License-Identifier: GPL-v2-only
|
||||
*/
|
||||
#include "qemu/osdep.h"
|
||||
#include <math.h>
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include "qemu/units.h"
|
||||
#include "qemu/error-report.h"
|
||||
#include "qapi/qapi-commands-cxl.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue