From: David Kershner Date: Mon, 12 Oct 2015 19:19:42 +0000 (-0400) Subject: staging: unisys: visorchannel.c remove unneeded parenthesis X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=f4b97f9c15da4f86acc98da4d67be2305751fd21;p=deliverable%2Flinux.git 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 Signed-off-by: Benjamin Romer Signed-off-by: Greg Kroah-Hartman --- 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; }