staging: dgap: fix checkpatch warnings
Remove a few spaces at beginning and end of line. Remove single statement braces {}. Remove two FSF boilerplate paragraphs. Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net> Cc: Lidza Louina <lidza.louina@gmail.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Scott H Kilau <Scott_Kilau@digi.com> Cc: Eng.Linux@digi.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
c0ffefa403
commit
baeae584db
1 changed files with 47 additions and 58 deletions
|
@ -7,16 +7,6 @@
|
|||
* the Free Software Foundation; either version 2, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY, EXPRESS OR IMPLIED; without even the
|
||||
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*
|
||||
*
|
||||
* NOTE TO LINUX KERNEL HACKERS: DO NOT REFORMAT THIS CODE!
|
||||
*
|
||||
* This is shared code between Digi's CVS archive and the
|
||||
|
@ -1722,9 +1712,8 @@ static int dgap_event(struct board_t *bd)
|
|||
/*
|
||||
* Make sure the interrupt is valid.
|
||||
*/
|
||||
if ( port >= bd->nasync) {
|
||||
if (port >= bd->nasync)
|
||||
goto next;
|
||||
}
|
||||
|
||||
if (!(reason & (IFMODEM | IFBREAK | IFTLW | IFTEM | IFDATA))) {
|
||||
goto next;
|
||||
|
|
Loading…
Add table
Reference in a new issue