summaryrefslogtreecommitdiffstats
path: root/drivers/staging/xillybus/xillybus_core.c
diff options
context:
space:
mode:
authorEli Billauer2014-09-05 11:53:06 +0200
committerGreg Kroah-Hartman2014-09-08 22:59:25 +0200
commita519946162b4bff7e452b80eee03f7e974886825 (patch)
tree6ec6448c8737d4f9690d2fc2586c1891826d67b8 /drivers/staging/xillybus/xillybus_core.c
parentstaging: xillybus: Blank lines add/remove (diff)
downloadkernel-qcow2-linux-a519946162b4bff7e452b80eee03f7e974886825.tar.gz
kernel-qcow2-linux-a519946162b4bff7e452b80eee03f7e974886825.tar.xz
kernel-qcow2-linux-a519946162b4bff7e452b80eee03f7e974886825.zip
staging: xillybus: Removed unnecessary cast
Suggested-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Eli Billauer <eli.billauer@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/xillybus/xillybus_core.c')
-rw-r--r--drivers/staging/xillybus/xillybus_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/xillybus/xillybus_core.c b/drivers/staging/xillybus/xillybus_core.c
index 30bb7acba5a5..b827fa095f1b 100644
--- a/drivers/staging/xillybus/xillybus_core.c
+++ b/drivers/staging/xillybus/xillybus_core.c
@@ -657,7 +657,7 @@ static int xilly_obtain_idt(struct xilly_endpoint *endpoint)
if (*version > 0x82) {
dev_err(endpoint->dev,
"No support for IDT version 0x%02x. Maybe the xillybus driver needs an upgarde. Aborting.\n",
- (int) *version);
+ *version);
return -ENODEV;
}