]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: vt6656: Remove unnecessary parentheses
authorRehas Sachdeva <aquannie@gmail.com>
Fri, 26 Feb 2016 12:57:05 +0000 (18:27 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Mar 2016 03:21:18 +0000 (19:21 -0800)
This patch removes the following checkpatch.pl warnings:
Unnecessary parentheses around al7230_init_table_amode[0][0]
Unnecessary parentheses around al7230_channel_table2[0][0]

Signed-off-by: Rehas Sachdeva <aquannie@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/rf.c

index 816206c92f57244b6b8456f6a8037e73d5165035..79a3108719a678c225cc519106b11fa909773318 100644 (file)
@@ -917,8 +917,8 @@ void vnt_rf_table_download(struct vnt_private *priv)
        if (priv->rf_type == RF_AIROHA7230) {
                length1 = CB_AL7230_INIT_SEQ * 3;
                length2 = CB_MAX_CHANNEL * 3;
-               addr1 = &(al7230_init_table_amode[0][0]);
-               addr2 = &(al7230_channel_table2[0][0]);
+               addr1 = &al7230_init_table_amode[0][0];
+               addr2 = &al7230_channel_table2[0][0];
 
                memcpy(array, addr1, length1);