global change: fix tools/checkpatch.sh warnnings

Change-Id: I88cfa979c44bcaf3a8f6e036c6bfccd3402ca85a
Signed-off-by: ligd <liguiding@fishsemi.com>
This commit is contained in:
ligd
2020-04-09 20:46:24 +08:00
committed by patacongo
parent 231ad202ee
commit cbf31bca5c
25 changed files with 188 additions and 124 deletions
+3 -2
View File
@@ -1,7 +1,8 @@
/****************************************************************************
* libs/libc/misc/lib_stream.c
*
* Copyright (C) 2007, 2011, 2013-2014, 2017 Gregory Nutt. All rights reserved.
* Copyright (C) 2007, 2011, 2013-2014, 2017 Gregory Nutt.
* All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -89,7 +90,7 @@ void lib_stream_initialize(FAR struct task_group_s *group)
/* Initialize each FILE structure */
for (i = 0; i < CONFIG_NFILE_STREAMS; i++)
{
{
FAR struct file_struct *stream = &list->sl_streams[i];
/* Clear the IOB */