patch-2.4.15 linux/include/asm-cris/uaccess.h

Next file: linux/include/asm-cris/unistd.h
Previous file: linux/include/asm-cris/timex.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.14/linux/include/asm-cris/uaccess.h linux/include/asm-cris/uaccess.h
@@ -3,6 +3,9 @@
  *	       Hans-Peter Nilsson (hp@axis.com)
  *
  * $Log: uaccess.h,v $
+ * Revision 1.8  2001/10/29 13:01:48  bjornw
+ * Removed unused variable tmp2 in strnlen_user
+ *
  * Revision 1.7  2001/10/02 12:44:52  hp
  * Add support for 64-bit put_user/get_user
  *
@@ -1057,7 +1060,7 @@
 static inline long
 strnlen_user(const char *s, long n)
 {
-	long res, tmp1, tmp2;
+	long res, tmp1;
 
 	if (!access_ok(VERIFY_READ, s, 0))
 		return 0;

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