Commit 473659df authored by David Kershner's avatar David Kershner Committed by Greg Kroah-Hartman

staging: unisys: visorbus: Remove unneeded initialization

No need to set drv to NULL.
Signed-off-by: default avatarDavid Kershner <david.kershner@unisys.com>
Reviewed-by: default avatarTim Sell <timothy.sell@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 453ca193
...@@ -1138,7 +1138,7 @@ static int visorchipset_initiate_device_pause_resume(struct visor_device *dev, ...@@ -1138,7 +1138,7 @@ static int visorchipset_initiate_device_pause_resume(struct visor_device *dev,
bool is_pause) bool is_pause)
{ {
int err; int err;
struct visor_driver *drv = NULL; struct visor_driver *drv;
/* If no driver associated with the device nothing to pause/resume */ /* If no driver associated with the device nothing to pause/resume */
if (!dev->device.driver) if (!dev->device.driver)
......
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