staging: unisys: visorchannel.c remove unneeded parenthesis
authorDavid Kershner <david.kershner@unisys.com>
Mon, 12 Oct 2015 19:19:42 +0000 (15:19 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Oct 2015 03:51:19 +0000 (20:51 -0700)
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>
drivers/staging/unisys/visorbus/visorchannel.c

index 0b6a210962d3f58b98ef75f25279fcfe7cf86311..a4e117f101cfeb7ef6d7c5d06b3d24c5e5dc6497 100644 (file)
@@ -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;
        }