forked from Mirrors/opensbi
		
	lib: sbi_scratch: remove owner from sbi_scratch_alloc_offset
The parameter owner of function sbi_scratch_alloc_offset() is never used. The scratch memory is small. We should not use it for debug information in future. Hence eliminate the parameter. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Xiang W <wxjstz@126.com> Reviewed-by: Anup Patel <anup.patel@wdc.com>
This commit is contained in:
		
				
					committed by
					
						
						Anup Patel
					
				
			
			
				
	
			
			
			
						parent
						
							66c4fca532
						
					
				
				
					commit
					f30b18944e
				
			@@ -98,7 +98,7 @@ int sbi_scratch_init(struct sbi_scratch *scratch);
 | 
			
		||||
 * @return zero on failure and non-zero (>= SBI_SCRATCH_EXTRA_SPACE_OFFSET)
 | 
			
		||||
 * on success
 | 
			
		||||
 */
 | 
			
		||||
unsigned long sbi_scratch_alloc_offset(unsigned long size, const char *owner);
 | 
			
		||||
unsigned long sbi_scratch_alloc_offset(unsigned long size);
 | 
			
		||||
 | 
			
		||||
/** Free-up extra space in sbi_scratch */
 | 
			
		||||
void sbi_scratch_free_offset(unsigned long offset);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user