mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
staging: unisys: Remove unneeded variable
This patch remove unneeded variable used to store return value. Signed-off-by: Abdul Hussain <habdul@visteon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
57334a30c8
commit
df7f46e83c
1 changed files with 1 additions and 2 deletions
|
@ -768,7 +768,6 @@ away:
|
||||||
static int
|
static int
|
||||||
visordriver_remove_device(struct device *xdev)
|
visordriver_remove_device(struct device *xdev)
|
||||||
{
|
{
|
||||||
int rc = 0;
|
|
||||||
struct visor_device *dev;
|
struct visor_device *dev;
|
||||||
struct visor_driver *drv;
|
struct visor_driver *drv;
|
||||||
|
|
||||||
|
@ -791,7 +790,7 @@ visordriver_remove_device(struct device *xdev)
|
||||||
|
|
||||||
put_device(&dev->device);
|
put_device(&dev->device);
|
||||||
|
|
||||||
return rc;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** A particular type of visor driver calls this function to register
|
/** A particular type of visor driver calls this function to register
|
||||||
|
|
Loading…
Add table
Reference in a new issue