tracing/boot: Fix to loop on only subkeys
[linux-2.6-microblaze.git] / drivers / block / sunvdc.c
index c4631e6..4d4bb81 100644 (file)
@@ -1050,7 +1050,7 @@ err_out_release_mdesc:
        return err;
 }
 
-static int vdc_port_remove(struct vio_dev *vdev)
+static void vdc_port_remove(struct vio_dev *vdev)
 {
        struct vdc_port *port = dev_get_drvdata(&vdev->dev);
 
@@ -1072,7 +1072,6 @@ static int vdc_port_remove(struct vio_dev *vdev)
 
                kfree(port);
        }
-       return 0;
 }
 
 static void vdc_requeue_inflight(struct vdc_port *port)