mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-12 16:11:04 +00:00
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>
This commit is contained in:
parent
35128d2910
commit
4ee0925da1
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user