mirror of
				https://xff.cz/git/u-boot/
				synced 2025-10-31 10:26:10 +01:00 
			
		
		
		
	mtd: Drop superfluous const qualifier
The compiler will ignore it anyway: include/linux/mtd/mtd.h:342:15: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
		
				
					committed by
					
						 Tom Rini
						Tom Rini
					
				
			
			
				
	
			
			
			
						parent
						
							880fcc49eb
						
					
				
				
					commit
					c0e978b4b7
				
			| @@ -339,7 +339,7 @@ static inline void mtd_set_ofnode(struct mtd_info *mtd, ofnode node) | |||||||
| 	dev_set_ofnode(mtd->dev, node); | 	dev_set_ofnode(mtd->dev, node); | ||||||
| } | } | ||||||
|  |  | ||||||
| static inline const ofnode mtd_get_ofnode(struct mtd_info *mtd) | static inline ofnode mtd_get_ofnode(struct mtd_info *mtd) | ||||||
| { | { | ||||||
| 	return dev_ofnode(mtd->dev); | 	return dev_ofnode(mtd->dev); | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user