diff options
author | Anjana Sasindran <anjanasasindran123@gmail.com> | 2014-11-21 00:27:50 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-26 14:00:22 -0800 |
commit | d268b50eb21d06cffe949ed3c1c05f1bf9939916 (patch) | |
tree | 4f4132c1f7ff139b3936347d41a784439c5a6651 | |
parent | 16ceb7283987d8d7cad260bacf49f4197c625504 (diff) | |
download | linux-d268b50eb21d06cffe949ed3c1c05f1bf9939916.tar.bz2 |
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 <anjanasasindran123@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/dgap/dgap.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 || |