Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit baeae584 authored by Vincent Stehlé's avatar Vincent Stehlé Committed by Greg Kroah-Hartman
Browse files

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: default avatarVincent 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: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c0ffefa4
Loading
Loading
Loading
Loading
+47 −58
Original line number Diff line number Diff line
@@ -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;