diff options
author | David Kershner <david.kershner@unisys.com> | 2015-10-12 15:19:42 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-12 20:51:19 -0700 |
commit | f4b97f9c15da4f86acc98da4d67be2305751fd21 (patch) | |
tree | ae20492f9a13d78a523a3e5aa31c8c99b212af1f /drivers/staging/unisys | |
parent | ad1a71546cd1cb8cf009fdbc15aad9bc7efb820f (diff) | |
download | lwn-f4b97f9c15da4f86acc98da4d67be2305751fd21.tar.gz lwn-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.c | 2 |
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; } |