1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:28:11 +00:00

Everywhere: Remove unnecessary clang-format offs

Mostly due to the fact that clang-format allows aligned comments via
AlignTrailingComments.

We could also use raw string literals in inline asm, which clang-format
deals with properly (and would be nicer in a lot of places).
This commit is contained in:
William McPherson 2021-03-04 19:15:17 +11:00 committed by Andreas Kling
parent 2119c9e801
commit 2479ead718
10 changed files with 8 additions and 29 deletions

View file

@ -35,7 +35,6 @@
namespace Kernel {
// clang-format off
#define PCI_VENDOR_ID 0x00 // word
#define PCI_DEVICE_ID 0x02 // word
#define PCI_COMMAND 0x04 // word
@ -68,7 +67,6 @@ namespace Kernel {
#define PCI_MAX_DEVICES_PER_BUS 32
#define PCI_MAX_BUSES 256
#define PCI_MAX_FUNCTIONS_PER_DEVICE 8
// clang-format on
namespace PCI {
struct ID {