Commit df7f46e8 authored by Abdul Hussain's avatar Abdul Hussain Committed by Greg Kroah-Hartman

staging: unisys: Remove unneeded variable

This patch remove unneeded variable used to store return value.
Signed-off-by: default avatarAbdul Hussain <habdul@visteon.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 57334a30
......@@ -768,7 +768,6 @@ visordriver_probe_device(struct device *xdev)
static int
visordriver_remove_device(struct device *xdev)
{
int rc = 0;
struct visor_device *dev;
struct visor_driver *drv;
......@@ -791,7 +790,7 @@ visordriver_remove_device(struct device *xdev)
put_device(&dev->device);
return rc;
return 0;
}
/** A particular type of visor driver calls this function to register
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment