[PATCH] ahci: skip protocol test altogether in spurious interrupt code
[safe/jmp/linux-2.6] / drivers / rtc / rtc-rs5c372.c
index 5e5cc10..7553d79 100644 (file)
@@ -233,8 +233,6 @@ static int rs5c372_probe(struct i2c_adapter *adapter, int address, int kind)
 
        if (IS_ERR(rtc)) {
                err = PTR_ERR(rtc);
-               dev_err(&client->dev,
-                       "unable to register the class device\n");
                goto exit_detach;
        }