aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/unisys
diff options
context:
space:
mode:
authorBryan Thompson <bryan.thompson@unisys.com>2014-11-06 14:13:08 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-07 09:22:01 -0800
commite3b7a4cacfcf6ffe6eb289628dd147b3202b5924 (patch)
treeff82113c2044bc90f2779bc3e40e3a69a79cb3b2 /drivers/staging/unisys
parentstaging: unisys: visorchannel: Remove unnecessary parentheses (diff)
downloadlinux-dev-e3b7a4cacfcf6ffe6eb289628dd147b3202b5924.tar.xz
linux-dev-e3b7a4cacfcf6ffe6eb289628dd147b3202b5924.zip
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 66094a32f495..29efd4dd0e82 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;