VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   35 Branches   59 Tags
author: Geert Uytterhoeven <geert@linux-m68k.org> 2012-07-11 14:02:26 -0700 committer: Linus Torvalds <torvalds@linux-foundation.org> 2012-07-11 16:04:45 -0700 commit: e048acebc40cf8292ed71a1012fd53068f22924b parent: 487c719c00b6a4bdb24a77337897d46dfe5131f6
Commit Summary:
h8300/uaccess: remove assignment to __gu_val in unhandled case of get_user()
Diffstat:
1 file changed, 0 insertions, 1 deletion
diff --git a/arch/h8300/include/asm/uaccess.h b/arch/h8300/include/asm/uaccess.h
index 356068cd0879..534394f4cb0f 100644
--- a/arch/h8300/include/asm/uaccess.h
+++ b/arch/h8300/include/asm/uaccess.h
@@ -100,7 +100,6 @@ extern int __put_user_bad(void);
 	break;							\
     default:							\
 	__gu_err = __get_user_bad();				\
-	__gu_val = 0;						\
 	break;							\
     }								\
     (x) = __gu_val;						\