summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArchana kumari <archanakumari959@gmail.com>2013-10-18 13:49:50 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-10-19 14:35:05 -0700
commit4ee0925da18f84146da698b7843ceabf9053f834 (patch)
treee7b09b96b5f60b059684ca302ab51774ddcd60b0
parent35128d29103d17563d5cc13db4ddce749f0b6656 (diff)
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 <archanakumari959@gmail.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/dgnc/dgnc_driver.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/dgnc/dgnc_driver.c b/drivers/staging/dgnc/dgnc_driver.c
index 4271fa38a46..f2821884b03 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;
}