X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=drivers%2Fparport%2Fshare.c;h=5dc53d420ca8ca805c0c036c23e3c1a3fc42ac00;hb=0a352554da69b02f75ca3389c885c741f1f63235;hp=0171b8dbcdcd5f57c54eeee19eed23d65dbd8897;hpb=a9dce6679d736cb3d612af39bab9f31f8db66f9b;p=linux-2.6-block.git diff --git a/drivers/parport/share.c b/drivers/parport/share.c index 0171b8dbcdcd..5dc53d420ca8 100644 --- a/drivers/parport/share.c +++ b/drivers/parport/share.c @@ -137,19 +137,11 @@ static struct bus_type parport_bus_type = { int parport_bus_init(void) { - int retval; - - retval = bus_register(&parport_bus_type); - if (retval) - return retval; - daisy_drv_init(); - - return 0; + return bus_register(&parport_bus_type); } void parport_bus_exit(void) { - daisy_drv_exit(); bus_unregister(&parport_bus_type); }