]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - drivers/video/udlfb.c
Merge tag 'fbdev-updates-for-3.4' of git://github.com/schandinat/linux-2.6
[linux-2.6.git] / drivers / video / udlfb.c
index 157df78e5bfc843a680af83c764b66dfe2f208cf..a159b63e18b9d3c14a3a989fa979ce21c425a66b 100644 (file)
@@ -1753,14 +1753,10 @@ static void dlfb_usb_disconnect(struct usb_interface *interface)
        dlfb_free_urb_list(dev);
 
        if (info) {
-
                /* remove udlfb's sysfs interfaces */
                for (i = 0; i < ARRAY_SIZE(fb_device_attrs); i++)
                        device_remove_file(info->dev, &fb_device_attrs[i]);
                device_remove_bin_file(info->dev, &edid_attr);
-
-               /* it's safe to uncomment next line if your kernel
-                  doesn't yet have this function exported */
                unlink_framebuffer(info);
        }