usb: gadget: mass_storage: make "file" and "ro" read only in some cases
[platform/adaptation/renesas_rcar/renesas_kernel.git] / drivers / usb / gadget / storage_common.c
index e576678..ae8b188 100644 (file)
@@ -878,7 +878,6 @@ static ssize_t fsg_store_file(struct device *dev, struct device_attribute *attr,
        if (count > 0 && buf[count-1] == '\n')
                ((char *) buf)[count-1] = 0;            /* Ugh! */
 
-
        /* Load new medium */
        down_write(filesem);
        if (count > 0 && buf[0]) {