From: Archana kumari Date: Fri, 18 Oct 2013 08:19:50 +0000 (+0530) Subject: staging: dgnc:Removed unecessary error messages in dgnc_driver.c X-Git-Tag: v3.13-rc1~170^2~167 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4ee0925da18f84146da698b7843ceabf9053f834;p=platform%2Fkernel%2Flinux-exynos.git 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: Archana kumari Reviewed-by: Josh Triplett Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/dgnc/dgnc_driver.c b/drivers/staging/dgnc/dgnc_driver.c index 4271fa3..f282188 100644 --- a/drivers/staging/dgnc/dgnc_driver.c +++ b/drivers/staging/dgnc/dgnc_driver.c @@ -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; }