Commit ef323812 authored by Garret Kelly's avatar Garret Kelly Committed by Greg Kroah-Hartman

staging: goldfish: Fix missing blank lines

Fix two instances of the following checkpatch warning:
WARNING: Missing a blank line after declarations
Signed-off-by: default avatarGarret Kelly <garret.kelly@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 67c20cfb
...@@ -147,6 +147,7 @@ static ssize_t goldfish_audio_write(struct file *fp, const char __user *buf, ...@@ -147,6 +147,7 @@ static ssize_t goldfish_audio_write(struct file *fp, const char __user *buf,
while (count > 0) { while (count > 0) {
ssize_t copy = count; ssize_t copy = count;
if (copy > WRITE_BUFFER_SIZE) if (copy > WRITE_BUFFER_SIZE)
copy = WRITE_BUFFER_SIZE; copy = WRITE_BUFFER_SIZE;
wait_event_interruptible(data->wait, (data->buffer_status & wait_event_interruptible(data->wait, (data->buffer_status &
......
...@@ -424,6 +424,7 @@ static int goldfish_nand_remove(struct platform_device *pdev) ...@@ -424,6 +424,7 @@ static int goldfish_nand_remove(struct platform_device *pdev)
{ {
struct goldfish_nand *nand = platform_get_drvdata(pdev); struct goldfish_nand *nand = platform_get_drvdata(pdev);
int i; int i;
for (i = 0; i < nand->mtd_count; i++) { for (i = 0; i < nand->mtd_count; i++) {
if (nand->mtd[i].name) if (nand->mtd[i].name)
mtd_device_unregister(&nand->mtd[i]); mtd_device_unregister(&nand->mtd[i]);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment