staging: dgnc:Removed unecessary error messages in dgnc_driver.c
authorArchana kumari <archanakumari959@gmail.com>
Fri, 18 Oct 2013 08:19:50 +0000 (13:49 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 19 Oct 2013 21:35:05 +0000 (14:35 -0700)
Fixed removal of unecessary error messages in staging:dgnc:dgnc_driver.c

Signed-off-by: Archana kumari <archanakumari959@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgnc/dgnc_driver.c

index 4271fa38a46c563641ef2c7b01e5c7ab14be8bcb..f2821884b03d82b074fd31c7a1e7da3ddd7b835f 100644 (file)
@@ -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;
        }