mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-08 12:12:53 +00:00
Everywhere: Remove unnecessary clang-format off
s
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:
parent
2119c9e801
commit
2479ead718
Notes:
sideshowbarker
2024-07-18 21:43:52 +09:00
Author: https://github.com/willmcpherson2
Commit: 2479ead718
Pull-request: https://github.com/SerenityOS/serenity/pull/5632
10 changed files with 8 additions and 29 deletions
|
@ -32,7 +32,6 @@
|
|||
|
||||
namespace Kernel {
|
||||
|
||||
// clang-format off
|
||||
#define REG_CTRL 0x0000
|
||||
#define REG_STATUS 0x0008
|
||||
#define REG_EEPROM 0x0014
|
||||
|
@ -139,7 +138,6 @@ namespace Kernel {
|
|||
#define INTERRUPT_PHYINT (1 << 12)
|
||||
#define INTERRUPT_TXD_LOW (1 << 15)
|
||||
#define INTERRUPT_SRPD (1 << 16)
|
||||
// clang-format on
|
||||
|
||||
// https://www.intel.com/content/dam/doc/manual/pci-pci-x-family-gbe-controllers-software-dev-manual.pdf Section 5.2
|
||||
static bool is_valid_device_id(u16 device_id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue