aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/unisys
diff options
context:
space:
mode:
authorBryan Thompson <bryan.thompson@unisys.com>2014-11-06 19:13:08 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-07 17:22:01 (GMT)
commite3b7a4cacfcf6ffe6eb289628dd147b3202b5924 (patch)
treeff82113c2044bc90f2779bc3e40e3a69a79cb3b2 /drivers/staging/unisys
parent61a8a7bc4d86a97f588880b7f7c819f8938cabfc (diff)
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>
Diffstat (limited to 'drivers/staging/unisys')
-rw-r--r--drivers/staging/unisys/visorchannel/visorchannel_funcs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/unisys/visorchannel/visorchannel_funcs.c b/drivers/staging/unisys/visorchannel/visorchannel_funcs.c
index 66094a3..29efd4d 100644
--- a/drivers/staging/unisys/visorchannel/visorchannel_funcs.c
+++ b/drivers/staging/unisys/visorchannel/visorchannel_funcs.c
@@ -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;

Privacy Policy