mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
staging: unisys: visorchannel: Place logical continuation at the end of a line
Move the || logical continuation from the start of the second line of an if statement to the end of the first line. Signed-off-by: Bryan Thompson <bryan.thompson@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
61a8a7bc4d
commit
e3b7a4cacf
1 changed files with 2 additions and 2 deletions
|
|
@ -388,8 +388,8 @@ safe_sig_queue_validate(struct signal_queue_header *psafe_sqh,
|
|||
struct signal_queue_header *punsafe_sqh,
|
||||
u32 *phead, u32 *ptail)
|
||||
{
|
||||
if ((*phead >= psafe_sqh->max_slots)
|
||||
|| (*ptail >= psafe_sqh->max_slots)) {
|
||||
if ((*phead >= psafe_sqh->max_slots) ||
|
||||
(*ptail >= psafe_sqh->max_slots)) {
|
||||
/* Choose 0 or max, maybe based on current tail value */
|
||||
*phead = 0;
|
||||
*ptail = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue