staging: goldfish: Fix missing blank lines
authorGarret Kelly <garret.kelly@gmail.com>
Mon, 7 Apr 2014 03:47:31 +0000 (23:47 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Apr 2014 03:14:33 +0000 (20:14 -0700)
Fix two instances of the following checkpatch warning:
WARNING: Missing a blank line after declarations

Signed-off-by: Garret Kelly <garret.kelly@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/goldfish/goldfish_audio.c
drivers/staging/goldfish/goldfish_nand.c

index f96dcec740aedf433d5266132f6072ff9b5b9461..aca980ec3696adafdc6238b3070f03b8e991e32b 100644 (file)
@@ -147,6 +147,7 @@ static ssize_t goldfish_audio_write(struct file *fp, const char __user *buf,
 
        while (count > 0) {
                ssize_t copy = count;
+
                if (copy > WRITE_BUFFER_SIZE)
                        copy = WRITE_BUFFER_SIZE;
                wait_event_interruptible(data->wait, (data->buffer_status &
index 7f606f7dec69617d59568c2379f12cddeda0d44e..2a292df71e7c5d83bf8fdd1a3d86c590c00c73ae 100644 (file)
@@ -424,6 +424,7 @@ static int goldfish_nand_remove(struct platform_device *pdev)
 {
        struct goldfish_nand *nand = platform_get_drvdata(pdev);
        int i;
+
        for (i = 0; i < nand->mtd_count; i++) {
                if (nand->mtd[i].name)
                        mtd_device_unregister(&nand->mtd[i]);