mirror of https://gitee.com/openkylin/linux.git
staging: unisys: visorbus: Remove unneeded initialization
No need to set drv to NULL. Signed-off-by: David Kershner <david.kershner@unisys.com> Reviewed-by: Tim Sell <timothy.sell@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
453ca19380
commit
473659df53
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue