Modifying code to bypass wait for ready.." in MPU6050_DMP6

// wait for ready
    Serial.println(F("\nSend any character to begin DMP programming and demo: "));
    while (Serial.available() && Serial.read()); // empty buffer
    while (!Serial.available());                 // wait for data
    while (Serial.available() && Serial.read()); // empty buffer again

    // load and configure the DMP
    Serial.println(F("Initializing DMP..."));
    devStatus = mpu.dmpInitialize();

How do I modify this code from Jeff Rowberg's MPU6050 example code, to begin initializing the DMP automatically instead of waiting for a keyboard input in the Arduino serial monitor?

How do I modify this code from Jeff Rowberg's MPU6050 example code, to begin initializing the DMP automatically instead of waiting for a keyboard input in the Arduino serial monitor?

Just delete the three while statements that deal with serial input. You probably want to delete the prompt, too.