From d268b50eb21d06cffe949ed3c1c05f1bf9939916 Mon Sep 17 00:00:00 2001 From: Anjana Sasindran Date: Fri, 21 Nov 2014 00:27:50 +0530 Subject: [PATCH] Drivers:staging:dgap: Added a blank line after declaration This patch fixes the checkpatch.pl warning: WARNING:Missing a blank line after declaration Signed-off-by: Anjana Sasindran Signed-off-by: Greg Kroah-Hartman --- drivers/staging/dgap/dgap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/dgap/dgap.c b/drivers/staging/dgap/dgap.c index f38354f04d50..bdb5317e3d9d 100644 --- a/drivers/staging/dgap/dgap.c +++ b/drivers/staging/dgap/dgap.c @@ -4414,6 +4414,7 @@ static struct board_t *find_board_by_major(unsigned int major) for (i = 0; i < MAXBOARDS; i++) { struct board_t *brd = dgap_board[i]; + if (!brd) return NULL; if (major == brd->serial_driver->major ||