staging: dgnc: braces {} are not necessary for single statement in dgnc_driver.c

Fixes "braces {} are not necessary for single statement blocks" warning
in 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:
Archana kumari 2013-10-18 13:52:51 +05:30 коммит произвёл Greg Kroah-Hartman
Родитель 4ee0925da1
Коммит a27582310c
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -488,9 +488,8 @@ static int dgnc_found_board(struct pci_dev *pdev, int id)
/* get the board structure and prep it */
brd = dgnc_Board[dgnc_NumBoards] =
kzalloc(sizeof(*brd), GFP_KERNEL);
if (!brd) {
if (!brd)
return -ENOMEM;
}
/* make a temporary message buffer for the boot messages */
brd->msgbuf = brd->msgbuf_head =