Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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