]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: unisys: visorchannel: Place logical continuation at the end of a line
authorBryan Thompson <bryan.thompson@unisys.com>
Thu, 6 Nov 2014 19:13:08 +0000 (14:13 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Nov 2014 17:22:01 +0000 (09:22 -0800)
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>
drivers/staging/unisys/visorchannel/visorchannel_funcs.c

index 66094a32f49562ed539ae26335f98eacf57ee26d..29efd4dd0e824f525614ee59bccf9f60e6cd84e6 100644 (file)
@@ -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;