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>
This commit is contained in:
Eli Billauer 2014-09-05 12:53:06 +03:00 committed by Greg Kroah-Hartman
parent 64fa2b1bf4
commit a519946162
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}