temp revert rk change
[firefly-linux-kernel-4.4.55.git] / drivers / usb / gadget / storage_common.c
index 5bf801b1c8bc7d99e14c14209c7775256554a204..2771166ac69a4ace3e0d3e69db6ffadc59c5abdb 100644 (file)
@@ -276,10 +276,6 @@ struct fsg_lun {
        struct file     *filp;
        loff_t          file_length;
        loff_t          num_sectors;
-#ifdef MAX_UNFLUSHED_PACKETS
-       unsigned int    unflushed_packet;
-       unsigned int    unflushed_bytes;
-#endif
 
        unsigned int    initially_ro:1;
        unsigned int    ro:1;
@@ -809,9 +805,6 @@ static ssize_t fsg_store_file(struct device *dev, struct device_attribute *attr,
        struct rw_semaphore     *filesem = dev_get_drvdata(dev);
        int             rc = 0;
 
-#ifdef CONFIG_ARCH_RK29
-       printk("store_file: \"%s\"\n", buf);
-#endif
 
 #ifndef CONFIG_USB_ANDROID_MASS_STORAGE
        /* disabled in android because we need to allow closing the backing file