staging: dgap: fix/change a pr_info
authorMark Hounschell <markh@compro.net>
Tue, 25 Mar 2014 20:38:17 +0000 (16:38 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Apr 2014 15:49:12 +0000 (08:49 -0700)
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>
drivers/staging/dgap/dgap.c

index 07fcb8df6a60fd6c828b41da4405428e5855130f..4bbedae22d490656f6abd0bb100b1b4f3be66ec2 100644 (file)
@@ -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;
 }