staging: dgap: fix/change a pr_info
This patch just fixes a pr_info. brd->state is not proper at this point in time. Signed-off-by: Mark Hounschell <markh@compro.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
70dc23361d
commit
20fe4ae19d
@ -782,9 +782,8 @@ static int dgap_found_board(struct pci_dev *pdev, int id)
|
||||
if (i)
|
||||
brd->state = BOARD_FAILED;
|
||||
|
||||
pr_info("dgap: board %d: %s (rev %d), irq %ld, %s\n",
|
||||
dgap_NumBoards, brd->name, brd->rev, brd->irq,
|
||||
brd->state ? "NOT READY\0" : "READY\0");
|
||||
pr_info("dgap: board %d: %s (rev %d), irq %ld\n",
|
||||
dgap_NumBoards, brd->name, brd->rev, brd->irq);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user