usr: Remove unnecessary -1 values from int file
PATCH 1/1 usr: Remove unnecessary -1 values from int file
The file variable is assigned first, it does not need to be initialized.
Signed-off-by Li zeming <[email protected]>
--- usr/gen_init_cpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
usr/gen_init_cpio.c +1 -1
@@ -326,7 +326,7 @@ static int cpio_mkfile(const char *name, const char *location,char s[256 ];struct stat buf;unsigned long size; -int file =-1 ; +int file;int retval;int rc =-1 ;int namesize;
Signature · 1 line
2.18.2
Thank you so much for including this patch, Mr. Andrew Morton.
This patch had shortly appear at
https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/usr-remove-unnecessary-1-values-from-int-file.patch
This patch will later appear in the mm-nonmm-unstable branch at
git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm