From: Mikhail Boiko Date: Tue, 18 Mar 2014 21:59:46 +0000 (+0200) Subject: staging: line6: Fix coding style problem X-Git-Tag: MMI-PSA29.97-13-9~12500^2~87 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b5f87cf913e6005e3d41db01ffa6d71c292271d9;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git staging: line6: Fix coding style problem Fix style issue for eudyptula challenge Signed-off-by: Mikhail Boiko Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/line6/capture.c b/drivers/staging/line6/capture.c index f8316b71f13d..0eda51d2e9a2 100644 --- a/drivers/staging/line6/capture.c +++ b/drivers/staging/line6/capture.c @@ -157,6 +157,7 @@ void line6_capture_copy(struct snd_line6_pcm *line6pcm, char *fbuf, int fsize) copy two separate chunks. */ int len; + len = runtime->buffer_size - line6pcm->pos_in_done; if (len > 0) {