From f460c170f063cacc7109395a8794de6cc362c87b Mon Sep 17 00:00:00 2001 From: Marek Polacek Date: Mon, 26 Nov 2012 16:38:32 +0000 Subject: Remove redundant variable in hash_set. From-SVN: r193820 --- gcc/cprop.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'gcc/cprop.c') diff --git a/gcc/cprop.c b/gcc/cprop.c index 9485250..aa30548 100644 --- a/gcc/cprop.c +++ b/gcc/cprop.c @@ -170,10 +170,7 @@ reg_available_p (const_rtx x, const_rtx insn ATTRIBUTE_UNUSED) static unsigned int hash_set (int regno, int hash_table_size) { - unsigned int hash; - - hash = regno; - return hash % hash_table_size; + return (unsigned) regno % hash_table_size; } /* Insert assignment DEST:=SET from INSN in the hash table. -- cgit v1.1