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

Commit 4ee0925d authored by Archana kumari's avatar Archana kumari Committed by Greg Kroah-Hartman
Browse files

staging: dgnc:Removed unecessary error messages in dgnc_driver.c



Fixed removal of unecessary error messages in staging:dgnc:dgnc_driver.c

Signed-off-by: default avatarArchana kumari <archanakumari959@gmail.com>
Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 35128d29
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -489,7 +489,6 @@ static int dgnc_found_board(struct pci_dev *pdev, int id)
	brd = dgnc_Board[dgnc_NumBoards] =
		kzalloc(sizeof(*brd), GFP_KERNEL);
	if (!brd) {
		APR(("memory allocation for board structure failed\n"));
		return -ENOMEM;
	}

@@ -498,7 +497,6 @@ static int dgnc_found_board(struct pci_dev *pdev, int id)
		kzalloc(sizeof(u8) * 8192, GFP_KERNEL);
	if (!brd->msgbuf) {
		kfree(brd);
		APR(("memory allocation for board msgbuf failed\n"));
		return -ENOMEM;
	}