staging: i4l: act2000: fix use of return
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Sat, 30 Apr 2016 21:33:02 +0000 (22:33 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 1 May 2016 21:33:34 +0000 (14:33 -0700)
checkpatch warns that return is not a function and as such the brace
after it is not required.

Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/i4l/act2000/act2000_isa.c

index b5fad29..34c0a9a 100644 (file)
@@ -439,5 +439,5 @@ act2000_isa_download(act2000_card *card, act2000_ddef __user *cb)
        }
        kfree(buf);
        msleep_interruptible(500);
-       return (act2000_isa_getid(card));
+       return act2000_isa_getid(card);
 }