Fix checkpatch check.
Remove an unnecessary space after a cast.

Signed-off-by: Christian Colic <colic.christ...@gmail.com>
---
 drivers/staging/speakup/devsynth.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/speakup/devsynth.c 
b/drivers/staging/speakup/devsynth.c
index d1ffdf4..1561399 100644
--- a/drivers/staging/speakup/devsynth.c
+++ b/drivers/staging/speakup/devsynth.c
@@ -34,7 +34,7 @@ static ssize_t speakup_file_write(struct file *fp, const char 
__user *buffer,
                synth_write(buf, bytes);
                spin_unlock_irqrestore(&speakup_info.spinlock, flags);
        }
-       return (ssize_t) nbytes;
+       return (ssize_t)bytes;
 }
 
 static ssize_t speakup_file_read(struct file *fp, char __user *buf,
-- 
2.5.0

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to