diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index aa5537aea02dd8fd1812647c7bfa944cb49b0d74..589109431bf89efadfd984854958fd657ba20d4a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2012-05-08  Richard Sandiford  <rdsandiford@googlemail.com>
+
+	PR rtl-optimization/53278
+	* lower-subreg.c (decompose_multiword_subregs): Remove left-over
+	speed_p code from earlier patch.
+
 2012-05-08  Oleg Endo  <olegendo@gcc.gnu.org>
 
 	PR target/51244
diff --git a/gcc/lower-subreg.c b/gcc/lower-subreg.c
index 4a9227512963ad0919080e8e6ad52f5d9700b6bf..13442064c5227faf46cb8b665d9222795831c4e8 100644
--- a/gcc/lower-subreg.c
+++ b/gcc/lower-subreg.c
@@ -1487,9 +1487,7 @@ decompose_multiword_subregs (void)
       FOR_EACH_BB (bb)
 	{
 	  rtx insn;
-	  bool speed_p;
 
-	  speed_p = optimize_bb_for_speed_p (bb);
 	  FOR_BB_INSNS (bb, insn)
 	    {
 	      rtx pat;