patch-2.1.22 linux/net/x25/x25_route.c

Next file: linux/net/x25/x25_subr.c
Previous file: linux/net/x25/x25_out.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.21/linux/net/x25/x25_route.c linux/net/x25/x25_route.c
@@ -15,7 +15,7 @@
  *	History
  *	X.25 001	Jonathan Naylor	Started coding.
  */
- 
+
 #include <linux/config.h>
 #if defined(CONFIG_X25) || defined(CONFIG_X25_MODULE)
 #include <linux/errno.h>
@@ -72,7 +72,7 @@
 	x25_route->next = x25_route_list;
 	x25_route_list  = x25_route;
 	restore_flags(flags);
-		
+
 	return 0;
 }
 
@@ -80,7 +80,7 @@
 {
 	struct x25_route *s;
 	unsigned long flags;
-	
+
 	save_flags(flags);
 	cli();
 
@@ -108,7 +108,7 @@
 static int x25_del_route(x25_address *address, unsigned int sigdigits, struct device *dev)
 {
 	struct x25_route *x25_route;
-	
+
 	for (x25_route = x25_route_list; x25_route != NULL; x25_route = x25_route->next) {
 		if (memcmp(&x25_route->address, address, sigdigits) == 0 && x25_route->sigdigits == sigdigits && x25_route->dev == dev) {
 			x25_remove_route(x25_route);
@@ -129,7 +129,7 @@
 	while (x25_route != NULL) {
 		route     = x25_route;
 		x25_route = x25_route->next;
-		
+
 		if (route->dev == dev)
 			x25_remove_route(route);
 	}
@@ -161,7 +161,7 @@
 struct device *x25_get_route(x25_address *addr)
 {
 	struct x25_route *route, *use = NULL;
-	
+
 	for (route = x25_route_list; route != NULL; route = route->next) {
 		if (memcmp(&route->address, addr, route->sigdigits) == 0) {
 			if (use == NULL) {
@@ -236,7 +236,7 @@
 			len   = 0;
 			begin = pos;
 		}
-		
+
 		if (pos > offset + length)
 			break;
 	}
@@ -263,7 +263,7 @@
 	while (x25_route != NULL) {
 		route     = x25_route;
 		x25_route = x25_route->next;
-		
+
 		x25_remove_route(route);
 	}
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov