mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-03-24 12:17:26 +08:00
staging: unisys: fix else statement in visornic_main.c
This patch fixes the following types of check patch warnings: else is not generally useful after a break or return Signed-off-by: Erik Arfvidson <erik.arfvidson@unisys.com> Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
abbceb6129
commit
05f1b17ec7
@ -377,8 +377,8 @@ visornic_serverdown(struct visornic_devdata *devdata,
|
||||
__func__);
|
||||
spin_unlock_irqrestore(&devdata->priv_lock, flags);
|
||||
return -EINVAL;
|
||||
} else
|
||||
spin_unlock_irqrestore(&devdata->priv_lock, flags);
|
||||
}
|
||||
spin_unlock_irqrestore(&devdata->priv_lock, flags);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user