util.cc: refactor read_file (#21295)
	
		
	
				
					
				
			* mode read & open once
* change return statement for better readibility
* apply reviews
* Update selfdrive/common/util.cc
* fix
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 190a845505
			
			
				commatwo_master
			
			
		
							parent
							
								
									56b8bd1717
								
							
						
					
					
						commit
						b83e0f87a8
					
				
				 1 changed files with 11 additions and 13 deletions
			
			
		
					Loading…
					
					
				
		Reference in new issue