From: Abdul Hussain Date: Thu, 11 Jun 2015 10:03:49 +0000 (+0000) Subject: staging: unisys: Remove unneeded variable X-Git-Tag: v4.2-rc1~88^2~190 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=df7f46e83c7f52ee6e7cf96eb8c068b1d1f8c68f;p=platform%2Fkernel%2Flinux-exynos.git staging: unisys: Remove unneeded variable This patch remove unneeded variable used to store return value. Signed-off-by: Abdul Hussain Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/unisys/visorbus/visorbus_main.c b/drivers/staging/unisys/visorbus/visorbus_main.c index dcce1f0..6fa17ea 100644 --- a/drivers/staging/unisys/visorbus/visorbus_main.c +++ b/drivers/staging/unisys/visorbus/visorbus_main.c @@ -768,7 +768,6 @@ away: 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