瀏覽代碼

cfi_flash: Remove return from void function

void functions don't need an explicit return at the end.

Signed-off-by: Mario Six <mario.six@gdsys.cc>
Signed-off-by: Stefan Roese <sr@denx.de>
Mario Six 7 年之前
父節點
當前提交
ab61cfb857
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/mtd/cfi_flash.c

+ 0 - 1
drivers/mtd/cfi_flash.c

@@ -1280,7 +1280,6 @@ void flash_print_info(flash_info_t *info)
 #endif
 	}
 	putc('\n');
-	return;
 }
 
 /*-----------------------------------------------------------------------