patch-2.3.10 linux/drivers/char/rocket.c

Next file: linux/drivers/char/saa7111.c
Previous file: linux/drivers/char/radio-zoltrix.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.9/linux/drivers/char/rocket.c linux/drivers/char/rocket.c
@@ -57,14 +57,13 @@
 #ifdef MODVERSIONS
 #include <linux/modversions.h>
 #endif
-#include <linux/module.h>
 #else /* !NEW_MODULES */
 #ifdef MODVERSIONS
 #define MODULE
 #endif
-#include <linux/module.h>
 #endif /* NEW_MODULES */
 
+#include <linux/module.h>
 #include <linux/errno.h>
 #include <linux/major.h>
 #include <linux/kernel.h>
@@ -154,7 +153,6 @@
 /*
  * NB. we must include the kernel idenfication string in to install the module.
  */
-#include <linux/version.h>
 /*static*/ char kernel_version[] = UTS_RELEASE;
 #endif
 
@@ -1664,7 +1662,6 @@
 		       jiffies, check_time);
 #endif
 		current->state = TASK_INTERRUPTIBLE;
-		current->counter = 0;	/* make us low-priority */
 		schedule_timeout(check_time);
 		if (signal_pending(current))
 			break;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)