Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 44396c7b authored by Ebru Akagunduz's avatar Ebru Akagunduz Committed by Greg Kroah-Hartman
Browse files

staging: gs_fpgaboot: remove unnecessary 'out of memory' message



This patch fixes "Possible unnecessary 'out of memory' message"
checkpatch.pl warning in gs_fpgaboot.c

Signed-off-by: default avatarEbru Akagunduz <ebru.akagunduz@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9cc56fa8
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -316,10 +316,8 @@ static int gs_fpgaboot(void)
	struct fpgaimage	*fimage;

	fimage = kmalloc(sizeof(struct fpgaimage), GFP_KERNEL);
	if (fimage == NULL) {
		pr_err("No memory is available\n");
	if (fimage == NULL)
		goto err_out;
	}

	err = gs_load_image(fimage, file);
	if (err) {