From: Eli Billauer Date: Fri, 5 Sep 2014 09:53:06 +0000 (+0300) Subject: staging: xillybus: Removed unnecessary cast X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a519946162b4bff7e452b80eee03f7e974886825;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git staging: xillybus: Removed unnecessary cast Suggested-by: Dan Carpenter Signed-off-by: Eli Billauer Signed-off-by: Greg Kroah-Hartman --- 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; }