mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04: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
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Reference in a new issue