mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 17:12:43 +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:
		
							parent
							
								
									2119c9e801
								
							
						
					
					
						commit
						2479ead718
					
				
					 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
	
	 William McPherson
						William McPherson