Index: wp-includes/functions.wp-scripts.php
===================================================================
--- wp-includes/functions.wp-scripts.php	(revision 19571)
+++ wp-includes/functions.wp-scripts.php	(working copy)
@@ -97,27 +97,6 @@
 }
 
 /**
- * Adds extra Javascript.
- *
- * Works only if the script referenced by $handle has already been added.
- * Accepts string $script that will be printed before the main script tag.
- *
- * @since 3.3
- * @see WP_Scripts::add_script_data()
- */
-function wp_add_script_before( $handle, $script ) {
-	global $wp_scripts;
-	if ( ! is_a( $wp_scripts, 'WP_Scripts' ) ) {
-		if ( ! did_action( 'init' ) )
-			_doing_it_wrong( __FUNCTION__, sprintf( __( 'Scripts and styles should not be registered or enqueued until the %1$s, %2$s, or %3$s hooks.' ),
-				'<code>wp_enqueue_scripts</code>', '<code>admin_enqueue_scripts</code>', '<code>init</code>' ), '3.3' );
-		return false;
-	}
-
-	return $wp_scripts->add_script_data( $handle, $script );
-}
-
-/**
  * Remove a registered script.
  *
  * @since r16
Index: wp-includes/class.wp-scripts.php
===================================================================
--- wp-includes/class.wp-scripts.php	(revision 19571)
+++ wp-includes/class.wp-scripts.php	(working copy)
@@ -145,22 +145,6 @@
 		if ( !empty($after) )
 			$script .= "\n$after";
 
-		return $this->add_script_data( $handle, $script );
-	}
-
-	/**
-	 * Add extra Javascript
-	 *
-	 * Only if script has already been added.
-	 *
-	 * @param string $handle Script name
-	 * @param string $script Extra JS to add before the script
-	 * @return bool Successful or not
-	 */
-	function add_script_data( $handle, $script ) {
-		if ( !is_string( $script ) )
-			return false;
-
 		$data = $this->get_data( $handle, 'data' );
 
 		if ( !empty( $data ) )
