From: David Kershner Date: Wed, 27 Sep 2017 17:14:24 +0000 (-0400) Subject: staging: unisys: visorbus: Remove unneeded initialization X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=473659df53561d06e9ff35a971bf1eaa705eec37;p=openwrt%2Fstaging%2Fblogic.git staging: unisys: visorbus: Remove unneeded initialization No need to set drv to NULL. Signed-off-by: David Kershner Reviewed-by: Tim Sell 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 d10af23a249c..56d1c1600693 100644 --- a/drivers/staging/unisys/visorbus/visorbus_main.c +++ b/drivers/staging/unisys/visorbus/visorbus_main.c @@ -1138,7 +1138,7 @@ static int visorchipset_initiate_device_pause_resume(struct visor_device *dev, bool is_pause) { int err; - struct visor_driver *drv = NULL; + struct visor_driver *drv; /* If no driver associated with the device nothing to pause/resume */ if (!dev->device.driver)