USB: fix compile warnings.
[firefly-linux-kernel-4.4.55.git] / drivers / usb / gadget / f_mass_storage.c
index f39c0330a277839be938b6691785520e931297de..4bcca7cee4d9086db16509de0a100a22544c6a9d 100755 (executable)
@@ -1067,7 +1067,7 @@ static int do_synchronize_cache(struct fsg_common *common)
 }
 
 /*-------------------------------------------------------------------------*/
-
+#ifndef CONFIG_ARCH_ROCKCHIP
 static void invalidate_sub(struct fsg_lun *curlun)
 {
        struct file *filp = curlun->filp;
@@ -1175,6 +1175,7 @@ static int do_verify(struct fsg_common *common)
        }
        return 0;
 }
+#endif
 
 /*-------------------------------------------------------------------------*/