aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/unisys
diff options
context:
space:
mode:
authorDavid Kershner <david.kershner@unisys.com>2015-10-12 15:19:42 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-12 20:51:19 -0700
commitf4b97f9c15da4f86acc98da4d67be2305751fd21 (patch)
treeae20492f9a13d78a523a3e5aa31c8c99b212af1f /drivers/staging/unisys
parentstaging: unisys: visorchannel.c fix spacing around cast (diff)
downloadlinux-dev-f4b97f9c15da4f86acc98da4d67be2305751fd21.tar.xz
linux-dev-f4b97f9c15da4f86acc98da4d67be2305751fd21.zip
staging: unisys: visorchannel.c remove unneeded parenthesis
Fix the checkpatch.pl -strict check: CHECK: Unnecessary parentheses around sig_hdr.num_overflows + &(sig_hdr.num_overflows), Signed-off-by: David Kershner <david.kershner@unisys.com> Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/unisys')
-rw-r--r--drivers/staging/unisys/visorbus/visorchannel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/unisys/visorbus/visorchannel.c b/drivers/staging/unisys/visorbus/visorchannel.c
index 0b6a210962d3..a4e117f101cf 100644
--- a/drivers/staging/unisys/visorbus/visorchannel.c
+++ b/drivers/staging/unisys/visorbus/visorchannel.c
@@ -468,7 +468,7 @@ signalinsert_inner(struct visorchannel *channel, u32 queue, void *msg)
SIG_QUEUE_OFFSET(&channel->chan_hdr, queue) +
offsetof(struct signal_queue_header,
num_overflows),
- &(sig_hdr.num_overflows),
+ &sig_hdr.num_overflows,
sizeof(sig_hdr.num_overflows));
return false;
}